Skip to content

Commit

Permalink
ftest: Avoid running spec initializers when all features in spec are …
Browse files Browse the repository at this point in the history
…skipped
  • Loading branch information
rsenden committed Mar 13, 2024
1 parent db8bea9 commit fcaf22b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class SkipFeaturesExtension implements IGlobalExtension {
feature.skip "Not included in "+Input.TestsToRun.propertyName()+" property"
}
})
if ( !spec.allFeatures.findAll({ f->!f.skipped }) ) {
spec.skip "All features skipped"
}
}
}
}

0 comments on commit fcaf22b

Please sign in to comment.