Open GoogleCodeExporter opened 8 years ago
This is a very nice issue report. Love having a github project that illustrates
the issue. The issue is, though, that ScalaTest really can't move forward if a
Suite fails to construct. In a FeatureSpec, feature clauses are evaluated at
construction time. Only scenario clauses are evaluated later, when run is
invoked on the FeatureSpec instance. So any exceptions, including
NotImplementedErrors, thrown from feature clauses will indeed abort the run.
What I think you meant to do was put a scenario inside that feature that is
blowing up, because you have Given/When/Then's in there. If not, that's the
intended way to use FeatureSpec. Possibly you could rename feature to scenario
as the fix. I'll submit a pull request later today on your project, but that's
the issue. What I think might be nice is if I could print out a hint that this
is the problem when this happens. It is an easy thing for users to try.
Original comment by billvenn...@gmail.com
on 26 Feb 2013 at 6:30
Original issue reported on code.google.com by
jeanremi...@gmail.com
on 19 Feb 2013 at 9:24