4
torbuntu
12h

100 new lines of code. 6 of them are new, the rest are tests. 30 comments and 100 commits later, changed code still not getting touched by tests. Who tests mocks?

Comments
  • 2
    Been there done that. For now, I only test the end points of API, no internals anymore. And when it comes to mocking, as less possible. What is the point if everything is mocked. Payment providers and such / other api's mostly have an accept / dev environment API to work with as well.
  • 3
    > Who tests mocks?
    People who get a boner when the test coverage number goes up.
  • 1
    @Lensflare Coverage won't go up if you test a mock because none of the actual code is being tested.
Add Comment