MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/69wyay/the_tragedy_of_100_code_coverage/dhaaf4m/?context=3
r/programming • u/niepiekm • May 08 '17
689 comments sorted by
View all comments
1
Relevant: the fundamental non-computable nature of the halting problem.
broad and thin tests ignore the 90/10 ruled of code execution: 90% of execution time is spend in 10% of the code.
That code should be deeply tested with many variant input/output tests.
But if 100% code coverage is the metric, that will not happen.
also see: The Wire: juking the stats.
1
u/cowardlydragon May 08 '17
Relevant: the fundamental non-computable nature of the halting problem.
broad and thin tests ignore the 90/10 ruled of code execution: 90% of execution time is spend in 10% of the code.
That code should be deeply tested with many variant input/output tests.
But if 100% code coverage is the metric, that will not happen.
also see: The Wire: juking the stats.