question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testability - Missing abstraction

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:30 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreasBiebercommented, Jun 1, 2018

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

1reaction
AndreasBiebercommented, May 30, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Testability and Test Smells
Testability smells are the programming practices that reduce the testability of a software system. I will talk about four specific testability ...
Read more >
Chapter 7. Testable design - Effective Unit Testing
Worried that your constructor is already taking in six parameters? It sounds like your code might be missing an abstraction or two—that's what...
Read more >
Testability: What it is and how to increase it - Kevin Tuck
Dependency Inversion Principle – High-level modules should not depend on low-level modules; both should depend on abstractions. Abstractions ...
Read more >
The Deep Synergy Between Testability and Good Design ...
It turns out there's a deep synergy between testability and good design. And it isn't just that thing of going and saying “well,...
Read more >
Design for Testability
Abstract. Testability is a software quality characteristic that is of major relevance for test ... Related processes, guidelines, and tools are missing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found