We have long test cycles, it takes 10 days for a complete batch of testing. While instrumenting the code using clover we included an unwanted project as well. so now on generating the report, we have reduced numbers due to that, Is there any mechanism to ignore a (namespace/set of files) from the report generation?
rebuilding and running testing again is not an option we have now. Any recommendations to get rid of unwanted project from the report?
I don't believe it's possible at the point of generating HTML. Clover just gets all data from clover.db and generates coverage reports.
If you want to exclude code parts from code coverage generation you shall do that at instrument level and simply exclude code from instrumentation.
Other reporting tools offer this feature (ex: lcov ).. ! it can be helpful to generate more meaningful reports, every time compiling removing the instrumentation is not an option.
please assume a scenario wherein we have few java files for which there is 0 coverage, we know its footprint but want to ignore from reports. then again going through the whole process is not feasible.
Would be of great use if this feature can be provided in future atleast !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.