Skip to content
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

cargo test -- --format json support? #251

Closed
bend-n opened this issue Oct 7, 2023 · 2 comments · Fixed by #252
Closed

cargo test -- --format json support? #251

bend-n opened this issue Oct 7, 2023 · 2 comments · Fixed by #252

Comments

@bend-n
Copy link
Contributor

bend-n commented Oct 7, 2023

Wondering if you'd be willing to expand it, to support cargo test, specifically cargo test --message-format json -- -Zunstable-options --report-time --show-output --format json output.

Ive implemented the test part already, in my cargo-kewl project, so id be willing to make a PR for it.

@oli-obk
Copy link
Owner

oli-obk commented Oct 8, 2023

Oh yea, we should totally add it. We'll need a big message about the json format being unstable tho.

@bend-n
Copy link
Contributor Author

bend-n commented Oct 8, 2023

Should I provide a TestCommand too? One that spawns a thread and holds a std::sync::mpsc channel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants