Feature request: Show Skipped Tests But Not Filtered Out Tests #2095
cwfitzgerald
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Motivation
wgpu
uses nextest quite heavily. One particular quirk of the wgpu test suite is that we automatically run each one of our gpu-enabled tests on each gpu in the system. As we have tests for all sorts of features, not every gpu can run them. We currently make each test instance that cannot be run on that current system "no-op" itself. We use the test name to show why the test is disabled. Example of running a single test:I would love for the "unsupported" test to show as something other than "PASS". I tried to do this by:
ignored
inlibtest-mock
--status-level skip
.This worked great if I was running the whole suite. However, if I added any kind of filter like above, I would get 1500 lines of output instead of what I wanted, which was one.
Proposal
I would love some way to have a
--status-level skip
which includes ignored tests, but does not show filtered out tests.Alternatives
I haven't really thought of any good ones. I would really love regex based coloring, or a more dataful contract between libtest-mock and nextest but those both sound much more complicated 😅
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions