Hacker News new | ask | show | jobs
by tome 197 days ago
How did your tests pass if you didn't handle state?
1 comments

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.