Comments (3)
Do you have any suggestions for addressing this? You correctly identified c8894d8 as the culprit. Is there a way to make that logic conditional? Or detect the correct package/binary and use that?
from neotest-rust.
@rouge8 I think we should try, restricting the scope always. Some crates compilation to fail when testing so I can't use workspace test.
VScode rust-analyzer plugin does this.
cargo test --package clipper --lib -- tests --nocapture
cargo test --package clipper --lib -- tests::test_punctuation --exact --nocapture
Need to look into neotest context for this, will update later.
@blaind Will this work for you as well?
from neotest-rust.
I believe that doesn’t work for non-default packages in a workspace as described in the commit linked above.
from neotest-rust.
Related Issues (20)
- Support workspaces
- neotest-rust is getting called instead of neotest-python
- Tests with `#[should_panic]` macro are ignored HOT 1
- Error attempt to get length of field 'testsuite' (a nil value) HOT 1
- Unable to parse the test HOT 4
- No Tests found HOT 4
- Tests are not detected if comment exists after #[test] attribute
- Package name should be read from `Cargo.toml` HOT 4
- Failed to run test after recent upgrade. HOT 10
- Running a single test fails HOT 2
- Running/listing tests in a workspace with a root package fails HOT 3
- Running a single test breaks on fish
- Test cases from /target folder are extracted unnecessarily HOT 1
- Debug fails because `file_path` is nil HOT 4
- Running file doesn't work HOT 4
- Investigate using Nextest's experimental machine-readable JSON output instead of junit XML
- Feature request: watch support
- Issues with workspaces HOT 11
- Support for doctests?
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 neotest-rust.