Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an .only test configuration #186

Open
martijnthe opened this issue Feb 2, 2017 · 0 comments
Open

Add an .only test configuration #186

martijnthe opened this issue Feb 2, 2017 · 0 comments

Comments

@martijnthe
Copy link

It would be nice to be able to write...

Test(simple, xyz, .only = true) {
   ...

... which would run only this test case.

I would use it during development for the test I'm currently working on.
I realize you can do this through CLI arguments as well, but that means I've have to change the test runner command all the time, which means a context switch away from the .c file I'm working on.

The idea was not my own, credit goes to:
https://github.com/avajs/ava#running-specific-tests

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

No branches or pull requests

2 participants