Stop test on error in parent spec

8 views
Skip to first unread message

Peter Moser

unread,
Mar 10, 2016, 5:04:03 AM3/10/16
to Geb Development Mailing List
Hi,

I want to use a basic spec where some login is done. Other specs extends from this spec.

Example: class BasicSpec extends GebReportingSpec { do some stuff}

Child class: class SubSpec extends BasicSpec

What I want is, that first all tests from BasicSpec should run. Then the tests from SubSpec. 
When an error in BasicSpec occurs, all tests should stop. Actually, when an error occurs, the tests in SubSpec will run too.

Is there a setting for this?

Best regards,
Peter
Reply all
Reply to author
Forward
0 new messages