bats icon indicating copy to clipboard operation
bats copied to clipboard

Noskip option flag

Open guygastineau opened this issue 5 years ago • 2 comments

I use bats with the other maintainers and mentors on the bash track at exercism.io.

We include skips on our tests to encourage TDD, but when checking work it is often desirable to ignore the skips. Most of us handle this with sed, but we are hoping to add a noskip flag option to bats.

Looking at your source it doesn't seem like it will be a big deal.

  1. Add an agreed upon flag and option to the bats file.
  2. Add a simple check inside the skip function.

If you all like this idea, then one of us can make the PR. Thank you all for your hard work 😁

guygastineau avatar May 16 '19 17:05 guygastineau

Hi @guygastineau - @sstephenson hasn't been active on this repo for a couple of years. There's a fork (linked from this repo in an issue https://github.com/sstephenson/bats/issues/150#issuecomment-330687260) - and a current proposal/PR for a todo directive that might be of interest :pray: https://github.com/bats-core/bats-core/pull/38

sublimino avatar Jun 19 '19 06:06 sublimino

Thank you very much for getting me pointed in the right direction 😀

guygastineau avatar Jun 19 '19 14:06 guygastineau