Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Noskip option flag #264

Open
guygastineau opened this issue May 16, 2019 · 2 comments
Open

Noskip option flag #264

guygastineau opened this issue May 16, 2019 · 2 comments

Comments

@guygastineau
Copy link

guygastineau commented May 16, 2019

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 😁

@sublimino
Copy link

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 #150 (comment)) - and a current proposal/PR for a todo directive that might be of interest 🙏 bats-core/bats-core#38

@guygastineau
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants