Focused Specs and Suites
Specs and suites can be focused so ONLY those suites and specs execute. You will do this by prefixing certain functions with the letter f
or by using the focused
argument in each of them. The reporters will show that these suites or specs where execute ONLY The functions you can prefix are:
it()
describe()
story()
given()
when()
then()
feature()
Please note that if a suite is focused, then all of its children will execute.