|
|
|
|
|
by bluGill
3118 days ago
|
|
80% of all tests should not be written, or if already written: deleted. A test is only valuable when it fails alerting you to a change you made that introduced a bug. There is a catch though: I don't know which of those tests are valuable. I find the ROI for tests is high despite the large number of worthless tests because of the ones that fail a small number alert me to something I wouldn't have found otherwise. The 80% number was of course made up. In my experience it is realistic, but I have never done a formal study. |
|