18
lotd
8y

When you run your test suite with 320 assertions in 64 tests and it all passes..

Something is very wrong somewhere x)

Comments
  • 2
    I don't get the pun.
  • 1
    Seen quite a few about compile success? Something wrong :p
  • 0
    @h3ll no, it's an actual application for handling travel tickets :p

    Many of them are asserts of data structure and ensuring callbacks, events, jobs gets called and does their thing though :p

    Some of those are the inverse, to guard against edge cases..
    Like two trying to reserve the same at almost the same time, ensuring that only the first gets through and the second gets an error :p
  • 0
    @Grundeir glass half empty
  • 0
    If you guys have doubts about the tests you're writting, try mutation testing: https://en.wikipedia.org/wiki/...
  • 0
    @Mayhem93 oh nice, thanks.
    Totally gonna pull that in :)
Add Comment