Hello,

for regression tests I wonder if it is possible to use Devel::Cover
to check coverage for modified lines *only*.

Checking the entire code every time after a change causes a
slowdown that is difficult to handle in our projects. More, the
required information needs to be extracted out of the complete
analysis result. But knowing about test coverage of the lines in
question would be a great help.

This would allow to instrument the code as required, running the
full test suite, running cover and get informed if the changed code
ran completely.

So, is there a way to switch coverage on and off at runtime, let's
say like profiling with Devel::NYTProf can be switched on and of
via DB::enable_profile() and DB::disable_profile() and can be
controled by the setting of the option start=no? (See
http://search.cpan.org/dist/Devel-NYTProf/lib/Devel/NYTProf.pm#RUN-TIME_CONTROL_OF_PROFILING)

Thank you in advance for any hints

               Jochen


Reply via email to