-
Notifications
You must be signed in to change notification settings - Fork 6
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
Filtering broken at nesting level > 2 ? #36
Comments
Ahh I see, the M=2 is printed but its "empty" no tests get run. That kind of confused me and I expected to not see any M=2 in the list, so perhaps its better to hide empty testsets? Or maybe this is intended in which case please feel free to close. |
Thanks for your report! Yes this is a slightly tricky behavior, which is not explained in the docs besides vague statements specifying only which tests are guaranteed to run, and saying that which tests exactly are run might change. So this is partly a documentation issue. What happens is that there are two phases:
In phase 2), we redo some filtering because of two reasons: We can't filter out non-final testsets in phase 2, because we don't know yet whether some of their children will have to run. I hope this helps. I should definitely put something along those lines in the documentation, and I also started exploring filtering testsets in phase 1 in a more fine-grained way, i.e. by unrolling the loops and selecting which iterations have to run. I'm not sure yet what the performance impact will be, but in some cases, it definitely is very useful to cut out the noise. In the meantime, a good idea is to put heavy computations (the bulk of the |
I'm not sure exactly what's happening here, but this seems broken with v0.3.1?
If instead I only do 2 levels of nesting, the
M=1
tests are instead correctly picked out.The text was updated successfully, but these errors were encountered: