Open jhomarolo opened 1 year ago
Here are my suggestions...
This is the suggested code to skip a spec:
const createUserSpec = spec.skip({
There should have a visual indicator that the spec is skipped when running herbs spec
.
This is the suggested code to skip a scenario:
const createUserSpec = spec({
...
'Create a new user when it is valid': scenario.skip({
There should have a visual indicator that the scenario is skipped when running herbs spec
.
For given
, when
and check
I don't see the need to skip them, right?
Is your feature request related to a problem? Please describe. One of the most common actions when writing or debugging tests, regardless of the framework used, is being able to ignore some tests. That is especially true if you practice TDD, or tend to first list the placeholders for the tests you plan to write.
Describe the solution you'd like The
skip()
feature should have inside the aloe library as the similar in mocha https://danielkorn.io/post/skipping-tests-in-mochajs/