9
Redd
54d

When the test you spent an hour writing passes on the first try… not sure if I should be happy or anxious.

Comments
  • 9
    Whenever I have this thought, I rewrite it to break _just in case_.
  • 1
    Something must be deeply wrong
  • 1
    Try a Mutation Testing library if it's available for your language. You'll find out pretty quickly if your test is as tight as you believe it is.
  • 3
    You accidentally put a return before any of the Asserts
  • 0
    @AmyShackles it's the equivalent of clicking tongs once when you grab them out of the drawer, and three more times just to make sure.
  • 1
    Spent an HOUR writing a test before running it for the first time? Well, there's your problem.
Add Comment