How do code coverage tools work?

前端 未结 5 1314
小蘑菇
小蘑菇 2021-01-30 08:43

How do code coverage tools like NCover know what parts of the code were executed and what parts were not?

5条回答
  •  梦谈多话
    2021-01-30 09:08

    Here's a technical paper on How to Implement test coverage tools for arbitrary languages.

    My company builds a family of test coverage tools for Java, C#, C++, PHP, COBOL, PLSQL, ... based on this principle.

提交回复
热议问题