News for hackers. Stuff that matters.
Re:The tragedy of 100% code coverage (2016) by YZF on Tuesday May 09, 2017 @01:27PM (#14302057)
Exactly. I've seen tests where some code calls:

  printf("hello world");
And the test is:

  mock_printf(string) {
    if string != "hello world" then fail;
  }
Which is basically just duplicating your code as tests.

There are no comments on this comment yet.