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

Support different backend for testing #43381

Closed
farodin91 opened this issue Jul 21, 2017 · 4 comments
Closed

Support different backend for testing #43381

farodin91 opened this issue Jul 21, 2017 · 4 comments
Labels
A-libtest Area: `#[test]` / the `test` library C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@farodin91
Copy link

farodin91 commented Jul 21, 2017

I like how the test works in rust, but I want to integrate them into intellij-rust/intellij-rust#1485. Therefore it would be cool to get test results in a different format like JSON.

This could be done by each test returns a single line JSON object and a single line conclusion at the end.

@mkaput
Copy link

mkaput commented Jul 21, 2017

For IntelliJ Rust, actually TeamCity Service Messages would be perfect :)

@Mark-Simulacrum Mark-Simulacrum added A-libtest Area: `#[test]` / the `test` library C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Jul 26, 2017
@gilescope
Copy link
Contributor

Yep, agreed. I like how NUnit3 does it. They have a '-teamcity' command line flag that turns on the service messages. This would make integration with enterprise teamcity instances a doddle. Should be really quite easy functionallity to add and for the utility it brings it seems a no-brainer for me. (I suspect TeamCity isn't the only CI that interprets the TeamCity Service Messages).

@gilescope
Copy link
Contributor

Should have a PR ready for review in a few days to support the TeamCity service messages. Need to test it with TeamCity first and ensure there's tests around it.

@dtolnay
Copy link
Member

dtolnay commented Nov 19, 2017

I would love to support this but as discussed in #44813 let's track this as part of rust-lang/rfcs#816.

@dtolnay dtolnay closed this as completed Nov 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-libtest Area: `#[test]` / the `test` library C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants