Skip to content

cargo test -- --logfile should support common CI formats #5670

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

Closed
lzybkr opened this issue Jun 29, 2018 · 3 comments
Closed

cargo test -- --logfile should support common CI formats #5670

lzybkr opened this issue Jun 29, 2018 · 3 comments

Comments

@lzybkr
Copy link

lzybkr commented Jun 29, 2018

It would be useful if cargo test -- --logfile would write a file in a format supported by CI systems.

Based on AppVeyor and VSTS, it looks like junit or xunit3 could be good choices.

@alexcrichton
Copy link
Member

Thanks for the report! I think this has to do with libtest moreso than Cargo though in the rust-lang/rust repo, so want to move the issue over there?

@lzybkr
Copy link
Author

lzybkr commented Jun 29, 2018

Done. rust-lang/rust#51924

It looks like json output is already available in nightly builds which might be helpful in the interim: rust-lang/rust#46450

@alexcrichton
Copy link
Member

Ok! I'm gonna close this in favor of that issue

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

No branches or pull requests

2 participants