Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did your tests pass if you didn't handle state?




Because it is also possible to write tests that don't adequately capture real-life requirements.

It was an MQTT server, and the tests basically went "if we have these subscriptions, then...", but no subscriptions ever got actually stored by the server.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: