문제

I am currently exploring various code coverage tools for use in project and short listed on clover amongst clover, Emma and cobertura. ( My org is ready to pay for clover and its nice )

But we donot have automated tests. all tests are manual and we need results to be generated run time using instrumented code.

clover's wiki's inital lines say

Code coverage is the percentage of code which is covered by automated tests.

Can clover collect coverage on non-automated tests ? i.e the requirement is i instrument code at compile time and get coverage report when i actually run the code. Googled much but could not find most appropriate answer.

Are there alternatives to achieve that if clover does not support it

도움이 되었습니까?

해결책 2

There are manual steps which clover website documents. probably using this we can achieve.. but not sure of exact optimal way to do this.

다른 팁

The idea of coverage tools is to instrument the application code so that when it's run, statistics are collected, and finally written into reports. Wether the application code is run by automated tests or by manual tests doesn't matter. It will work with manual tests, but be of course much longer.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top