Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lotd77758y@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 -
If you guys have doubts about the tests you're writting, try mutation testing: https://en.wikipedia.org/wiki/...
Related Rants
When you run your test suite with 320 assertions in 64 tests and it all passes..
Something is very wrong somewhere x)
undefined
pun
test
compile