dotnet-kube-client: Testability - Missing abstraction

Hi,

we really appreciate your lib and want to use it, but we are currently facing some hard times testing our code using your lib. The lib provides no interfaces, which means that we cannot mock your implementations.

As we are developing in a CI environment, we strongly need to provide unittests (not only integrationtests).

Do you think there is a chance to introduce an appropiate level of abstraction, especially for the KubeApiClient and the ResourceClients?

Thanks in advance Andy

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 30 (21 by maintainers)

Commits related to this issue

Most upvoted comments

FYI, since you reference the preview version. Netcore 2.1 has been released yesterday.

No problem. Take the time you need. Private life has priority. If you have any comments or change requests, just let me know. Then I can adjust this.

Will do so

Hi tintoy,

of course. Thanks for the fast response. If you need help or suggestions, don’t hesitate to ask.

Cheers, Andy