News for hackers. Stuff that matters.
Re:Kent Beck: “I get paid for code that works, not for tests... by metaphorm on Thursday December 08, 2016 @11:42AM (#13131586)
you're describing two different types of tests.

one kind is the acceptance test, where you write a test that specifies correct behavior under normal circumstances (including expected error scenarios).

the other kind is a regression test, where you reproduce a discovered bug in a test environment, then fix it, and make sure that the test covers the fixed code to confirm that the bug is no longer occurring.

both types of tests are important and for different reasons. they aren't mutually exclusive and they aren't addressing the same problem.

There are no comments on this comment yet.