by codex · 15y ago · 0 comments
There's more to it than simply checking each line with a coverage tool--you also need to rerun tests when any implicitly referenced global data, strings, input files, command line parameters, etc. change, including calls to third party libraries for which the source is not available. Usually a build system and compiler can track some of these dependencies already, so you may be able to leverage those.
As long as you occasionally run the full test suite, though, you may not care to cover these cases for your incremental tests.
No comments yet.