You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for easier filtering (using --only or --skip) it would be awesome if bandit could output a list of the whole describe() hierarchy. (I'd suggest --list for such a feature.)
Maybe, sometimes it is also convenient to get a full list of all describe() and it(). (--full-list or --list-them or --list-all?)
Thank you,
Stephan
The text was updated successfully, but these errors were encountered:
6f722b9 adds a --dry-run option that essentially marks all tests as skipped. If you combine that with the spec or info reporters, you'll get a list of all describes and its.
In the OGDF fork of bandit I have cherry-picked the --list-tests commit by champloo and this is basically the same as --dry-run, I guess. I adapted it slightly to use the spec reporter (always, you cannot change it).
I just compared the output. The --dry-run --reporter=spec shows an ugly SKIPPED on every test, --list-tests does not. But it's probably good enough to live with.
It seems like --dry-run doesn't skip the before_ each etc. blocks and only the it blocks though. As such --dry-run takes about 2 minutes to run on my machine, whereas --dry-run --only=UNIQUESTRINGTHATISNTINANYDESCRIPTION takes only a few seconds to run.
Hi,
for easier filtering (using
--only
or--skip
) it would be awesome if bandit could output a list of the wholedescribe()
hierarchy. (I'd suggest--list
for such a feature.)Maybe, sometimes it is also convenient to get a full list of all
describe()
andit()
. (--full-list
or--list-them
or--list-all
?)Thank you,
Stephan
The text was updated successfully, but these errors were encountered: