Comments (3)
I have such the tests:
crypto-markets::bitmex aaaaa
crypto-markets::bitmex bbbbb
crypto-markets::bitmex ccccc
crypto-markets::others bbbbb
crypto-markets::dont_exclude aaaaa
How can I exclude the bitmex
tests while still including others
and dont_exclude
? I tried all() - package(/bitmex/)
(and package(~bitmex)
), and it reported:
$ cargo nextest run -E 'all() - package(/bitmex/)'
error: operator didn't match any packages
╭────
1 │ package(/bitmex/)
· ────┬───
· ╰── no packages matched this
╰────
error: failed to parse filter expression
While all() - test(/bitmex/)
(test(bitmex)
, test(~bitmex)
) can only match:
crypto-markets::bitmex bitmex_aaaaa
crypto-markets::bitmex bitmex_bbbbb
crypto-markets::bitmex bitmex_ccccc
crypto-markets::others bitmex_bbbbb
crypto-markets::dont_exclude bitmex_aaaaa
from nextest.
Thanks for pointing this out! You're right that this is a gap right now. The next version of nextest (hopefully done in a couple of days) will add a new binary
predicate for this purpose. If you build nextest from main you can try it out right now.
from nextest.
Filter expressions have been released as part of cargo-nextest 0.9.25.
from nextest.
Related Issues (20)
- `build.rs` line change slows tests HOT 2
- Ability to enable features in the configuration HOT 3
- Allow user-specific configuration
- Allow to display stdout, while silencing test harness. HOT 2
- Add support for excluding paths from an archive
- Archive extra files, relative to paths other than the target directory
- Add a way to include extra files on a per-test-binary and per-platform basis
- Add a "testimonials" page (please comment here!) HOT 3
- v0.9.70 using significantly more stack HOT 7
- [windows] lots of tests running in parallel may cause "leaky" warnings HOT 3
- Idea: network isolation between tests HOT 14
- Add support for `cargo test`s --skip and --exact command line flags HOT 2
- `cargo nextest run --workspace` fails with DLL missing if a macro lib exists HOT 14
- nextest chooses arbitrarily not to run some tests it's found HOT 7
- Consider conditions to not include libstd in archives
- [meta] tell users what configuration their tests are running with
- Human-readable configuration output HOT 1
- Machine-readable configuration output
- Feature Request: Conditional skipping test based on setup scripts HOT 1
- Test Suite Running Very Slowly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextest.