News for hackers. Stuff that matters.
Re:Ask HN: Unit test makes my mind blow up by informatimago on Wednesday September 17, 2014 @12:47PM (#8330920)
Right.

It looks like this only tests whether MocDB.DbGetOne() returns true, which it always does, and which is not testing the program, but the test.

You have to test the tests, to be sure they'll correctly test the program. Of course, then you also need to test the tests that tests the tests, and so on...

There are no comments on this comment yet.