Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: JtestR 0.3.1
-
Fix Version/s: None
-
Component/s: Test running
-
Labels:None
-
Environment:OS X 10.5.5, Java 1.5.0_16
-
Number of attachments :
Description
If there is an exception while loading a helper, JtestR defers reporting it until after running the tests. Unless the failed helper is unused, this results in a bunch of (initially) incomprehensible test failures – NameErrors for missing constants or methods are most likely.
This behavior is counter-intuitive (particularly since the failed test reports show up before the helper load errors). Once discover the behavior, of course, you can adjust your actions to fit it. It's pretty frustrating until you do, though.
IMO, the benefit (seeing all the helper errors at once, instead of just the first one) doesn't balance against the time spent discovering it.