Closed snogge closed 4 years ago
Also see #30.
Please consider renaming buttercup--mark-skipped
to buttercup-mark-skipped
so that it becomes part of official API and can be used by other packages without fear of being removed in a next version.
I would also separate this into two functions: one that marks specs skipped according to some predicate and one that calls the first after building a predicate from a list of patterns. This way existing behavior of patterns would be preserved (the second function does it), while the first provides a very generic way to select using an arbitrary lambda.
The first line in a report:
did take pending tests into account, but not tests that were skipped by the
bin/buttercup
-p
option. Setting the specstatus
field topending
will exclude the skipped tests from the "Running" count.#