Re:UX clichés
by mLuby on Sunday May 05, 2019 @12:09PM
(#19833466)
My tests run during tests, so they automatically have 100% test coverage. :D
[ Parent
| on HN ]
Re:UX clichés
by plorkyeran on Sunday May 05, 2019 @01:46PM
(#19833953)
It's not all that uncommon to have test code which is never actually run. Usually just because of disabled tests or leftover helper functions that are no longer used, but sometimes due to bugs in the tests themselves. Turning on code coverage tracking for the test code itself can sometimes reveal some interesting things.
Re:UX clichés
by DonHopkins on Sunday May 05, 2019 @06:21PM
(#19835444)
Always write recursive code. It tests itself!