How can I filter based on tests/name.rs
?
#1724
-
I have a number of tests, but I'm only interested in running specific integration tests, e.g. I've tried:
and nothing matches. But without any filter it runs normally, e.g.
And similarly I want to match tests by module name, e.g.
How can I match the integration test name, or the module name? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The default matcher for |
Beta Was this translation helpful? Give feedback.
'binary(*long*)'
or'binary(~long)'
should work.The default matcher for
binary
is the glob matcher -- see https://nexte.st/docs/filtersets/reference/#default-matchers. So you can either use a glob pattern (*long*
) or switch to the contains matcher with~
.