vendredi 22 juin 2018

Xcode: skip test if previous one failed

Is there any option in Xcode to skip the test in test-class if previous one failed?

Now I use something like that in potentially skippable test body:

if previousTestFailed == true {
    XCTFail("Test can't proceed because previous one failed")
}

Maybe there is something more pleasant?

Aucun commentaire:

Enregistrer un commentaire