News for hackers. Stuff that matters.
Re:Ask HN: What's the largest amount of bad code you have ev... by int_19h on Wednesday November 14, 2018 @06:49PM (#18455437)
Writing functional tests is easy when you have a clear spec. If you do, tests are basically the expression of that spec in code. Conversely, if they're hard to write, that means that your spec is underspecified or otherwise deficient (and then, as a developer, ideally, you go bug the product manager to fix that).

There are no comments on this comment yet.