JWhiz
JWhiz

Reputation: 681

Clover - getting coverage without automated tests

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

Upvotes: 2

Views: 1322

Answers (2)

JWhiz
JWhiz

Reputation: 681

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

Upvotes: 0

JB Nizet
JB Nizet

Reputation: 691715

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.

Upvotes: 1

Related Questions