Hi,
While running tests on the browser with aria tester, all tested classes are actually instrumented because of the coverage functionality and it makes it hard to debug, for example:
$constructor: function() {
$$_f("modules\\cshell\\ShellModuleCtrl.js", "$constructor", "22_898");
$$_l("modules\\cshell\\ShellModuleCtrl.js", "stat23_913");
this.$ModuleCtrl.constructor.call(this);
}
It would be great if there could be a cmd line option to prevent instrumentation from hapenning when debug is necessary. Something like:
mvn clean test -DskipCoverage
Right now, the work around proposed by David-Emmanuel (and that works) is to change the coverageRootDirectory:
<coverageRootDirectory>[set a dummy directory here]</coverageRootDirectory>
but the problem with this approach is that you might end up commiting the modified pom.xml and lose coverage when you really want it. So the cmd line option would be perfect 😄
Thanks,
Leo.
Hi,
While running tests on the browser with aria tester, all tested classes are actually instrumented because of the coverage functionality and it makes it hard to debug, for example:
It would be great if there could be a cmd line option to prevent instrumentation from hapenning when debug is necessary. Something like:
Right now, the work around proposed by David-Emmanuel (and that works) is to change the coverageRootDirectory:
but the problem with this approach is that you might end up commiting the modified pom.xml and lose coverage when you really want it. So the cmd line option would be perfect 😄
Thanks,
Leo.