in reply to Fast coverage module or hack
First idea: if you load modules on demand — require at run-time instead of use at compile-time — then %INC will tell you what modules each test script has tested.
Second idea: the map probably doesn't change that often, so you don't need to update it every check-in. Check when it was last updated, and only run your test suite with Devel::Cover on to update the map if the map is stale by more than X hours. (X might be 6?) After a major refactoring, you might want to manually re-trigger the map to be regenerated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Fast coverage module or hack
by vsespb (Chaplain) on Dec 02, 2019 at 08:32 UTC | |
by tobyink (Canon) on Dec 02, 2019 at 12:29 UTC | |
by vsespb (Chaplain) on Dec 02, 2019 at 12:36 UTC | |
by tobyink (Canon) on Dec 02, 2019 at 12:39 UTC | |
by vsespb (Chaplain) on Dec 02, 2019 at 14:39 UTC | |
by tobyink (Canon) on Dec 02, 2019 at 16:03 UTC | |
by vsespb (Chaplain) on Dec 02, 2019 at 16:50 UTC | |
| |
by vsespb (Chaplain) on Dec 02, 2019 at 16:19 UTC | |
|