kiwi-bdd / Kiwi

Simple BDD for iOS
BSD 3-Clause "New" or "Revised" License
4.14k stars 512 forks source link

Stop tests execution if one test is failed #697

Open VladKorzun opened 7 years ago

VladKorzun commented 7 years ago

Is there a way to stop tests execution if any test is failed? My first couple tests are checking for correct app setup and if there something wrong (server is down or an error occurred) I have no need to continue testing because all other test will fail for sure.

orta commented 7 years ago

Not to my knowledge, you could build this.

Perhaps by reading the environment variables for a specific one and calling exit(1) on the fail?