Failed asserting that false is true.

No shit sherlock ;/

  • 4
    A little tidbit that I picked up from a guy who taught TDD:

    Have a test that asserts true == true.

    He called it the Canary Test. It's purpose is to prove that your testing suite is properly configured. If it fails, then you know the problem is not with your code or with your tests, it is your testing configuration.
  • 0
    Obviously, you aren't writing philosophy software.
  • 1
    @PaladinRevenant Hah that's a good one. I must say after diving into the TDD rabbit-hole I'm starting to love it :3 Automation ftw
Your Job Suck?
Get a Better Job
Add Comment