perl - Provision of switching Devel::Cover on/off -
while using devel::cover in test code tests codea, devel::cover have option of switching coverage off. there way switch coverage module on or off per user?
test code tests codea. devel::cover commands embedded in test code whenever codea commands tested.
does devel::cover include provision coverage collection can switched on or off?
there way turn coverage on , off @ runtime, seems have forgotten document it. however, tested, can see how use there:
https://github.com/pjcj/devel--cover/blob/master/t/internal/criteria.t
this isn't same if devel::cover had never been loaded, rather stops devel::cover collecting coverage information criteria turned off.
Comments
Post a Comment