-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
Using filter -sc
does not work properly?
#513
Comments
Ok... after some experimentation I realized that I thought |
-sc
does not work-sc
does not work properly?
yes, I will add a note in the docs that subcase filtering does not affect test case filtering. And glad you like the framework! :) |
Thanks xD |
Description
As described in the docs it should be possible to run only specified subcases using the flag
-sc
. But when I use it, all tests are executed. I know the subcases were registered/compiled because they are the only ones printing something on the screen and If I list tests cases or subscases everything is listed fine. I also tried--subcase
.Steps to reproduce
-sc="*the*"
(the
is present in both subcases ) and--subcase="*vectors*"
did not work for me. I used the following examples from the docs.Extra information
2nd extra
doctest is an awesome framework! thank you for your effort :)
The text was updated successfully, but these errors were encountered: