-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
An option to run a specific section would be great #629
Comments
Maybe it could be possible to make one test/section explicitly to be executed. I've tried to do this with add a tag, but it looks like that tags are only sampled at the highes level? |
Yes ist seems that Tags are only applied to |
I agree. Should not the definition of a 'test' be any block from within which you enter the codebase you're testing? So if you can run I would actually argue that without this TDD is, by principle, not possible. |
This has been a long standing and common (and understandable) request. The mechanism is via a new command line option, It doesn't currently support wildcards or tags - but I'll look at adding those later. I'll be pushing - probably to a branch to begin with - soon. |
Do we have an ETA for the release of this feature? |
@ruipacheco Partial support is in, see current release notes, or CLI documentation. |
While more could be done, I believe the feature that is in (with |
Hello
I searched the tutorial and reference section but could not find anything about this.
I would like to be able to run a single section - meaning execute all 'parent' sections and don't execute the child sections.
My usecase is, that I setup the test data and test different things on the same setup. Once a test fails I need to fix that test, but if all sections are executed it is cumbersome to use breakpoints as most have to be skipped until the section of interest.
If there is a better test setup, please tell me.
Thank you!
The text was updated successfully, but these errors were encountered: