Comments (2)
I believe this is a vim-test issue. You just need to update the regex used to match the namespace in the cargo file here https://github.com/vim-test/vim-test/blob/master/autoload/test/rust/cargotest.vim#L8. They'll be happy to take a PR, just make sure to add a test to handle the new case 😄
from vim-ultest.
If I run the command:
cargo test -- -Z unstable-options --format json
I get the results:
{
"type": "suite",
"event": "started",
"test_count": 3
}
{
"type": "test",
"event": "started",
"name": "my_other_specific_tests::it_works"
}
{
"type": "test",
"event": "started",
"name": "my_second_specific_tests::it_works"
}
{
"type": "test",
"event": "started",
"name": "my_specific_tests::it_works"
}
{
"type": "test",
"name": "my_second_specific_tests::it_works",
"event": "ok"
}
{
"type": "test",
"name": "my_other_specific_tests::it_works",
"event": "failed",
"stdout": "thread 'my_other_specific_tests::it_works' panicked at 'assertion failed: `(left == right)`\n left: `2`,\n right: `4`', src/lib.rs:25:9\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n"
}
{
"type": "test",
"name": "my_specific_tests::it_works",
"event": "failed",
"stdout": "thread 'my_specific_tests::it_works' panicked at 'assertion failed: `(left == right)`\n left: `2`,\n right: `4`', src/lib.rs:6:9\n"
}
{
"type": "suite",
"event": "failed",
"passed": 1,
"failed": 2,
"ignored": 0,
"measured": 0,
"filtered_out": 0,
"exec_time": 0.000321702
}
I put this here wondering if you think it's simpler making another test runner based on this command?
from vim-ultest.
Related Issues (20)
- Ultest not passing anything as parameters for rust HOT 16
- Can't scroll test results in pop-up HOT 3
- Ultest does nothing silently HOT 3
- Set popup window height HOT 5
- Add C++ (GTest) or vim-gtest support HOT 8
- No notification handler registered HOT 7
- Does not allow passing arguments HOT 4
- UltestSummary broken after :bdelete buffer HOT 2
- Multi-line feature / do blocks are not detected
- Help: Tests running slower then vim-test HOT 2
- No module named 'termios' on Windows HOT 2
- Feature request: Use vim.notify HOT 3
- Awesome nvim / vim config, share please? HOT 2
- Feature request: Send to quickfix / Trouble HOT 1
- Add ability to run `UlTest` in sync HOT 3
- Error: vim-ultest encountered an unknown error on startup HOT 13
- Variable for Where to Split Buffer HOT 3
- No matching autocommands: UserUltestPositionsUpdate HOT 2
- Nested tests fail in Java JUnit HOT 3
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 vim-ultest.