-
Notifications
You must be signed in to change notification settings - Fork 40
feat: specify optional test filter #701
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
Conversation
3840c65 to
502e68d
Compare
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #701 +/- ##
==========================================
- Coverage 77.10% 77.08% -0.03%
==========================================
Files 109 109
Lines 24753 24785 +32
Branches 24753 24785 +32
==========================================
+ Hits 19087 19105 +18
- Misses 3663 3671 +8
- Partials 2003 2009 +6
🚀 New features to boost your workflow:
|
|
@AlexD10S @Daanvdplas another option is to respect the way For reference, cargo does it this way: |
I personally think this is the way. And it should then also work like |
Fine for me, but that will directly break in case in the future we add more subcommands.
Tests can be named equally between different scope (Rust |
Oke then we shouldn't do it |
|
@Daanvdplas refactored so that the |
87e4c40 to
55dfefc
Compare
Daanvdplas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and clean, thanks!
Closes #682.
This PR allows specifying an extra argument that acts a
cargo test <filter>-compatible filter.For instance, in the flipper contract you can now run:
OR
OR