-
Notifications
You must be signed in to change notification settings - Fork 8
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
JSON output for Rust libtest
require nightly since 1.70
#250
Comments
I run
|
Could you explain the possible downsides, if any, to using nightly with |
In an attempt to answer my own question, I've done some googling and reading. It appears the only "major" difference between nightly (without feature flags) and stable is the more extensive testing plus the six weeks of time to discover bugs, and the slight chance of having compiler bugs. However, any fixes are backported to the current nightly. So choosing a nightly release relatively close to the end of a beta period should offer relative safety in that regard. Unless someone can point out something egregious I've overlooked, this seems to me the best way forward so we can finally stop stagnating on 1.66 forever (it's been more than a year now?) :) |
Supporting 1.70 requires extra work/research because
-Zunstable-options --format json
we've been using to get JSON output is no longer accepted on stable release.I won't use the nightly because the maintenance cost on each version bump will increase (nightly features will be used and will break). A workaround mentioned is to set
RUSTC_BOOTSTRAP=1
environment variable, but that's basically the same as using nightly.--format json
won't be stabilized anytime soon.Options
cargo-nextest
supports JUnit XML. We should be able to convert this to Codewars messages. But the file is created after the test, so partial results are lost if the test crashes or timeouts.cargo-nextest
has partial support JSON output since 0.9.65.-Zallow-features=
(allow nothing))Please comment if you have other ideas.
The text was updated successfully, but these errors were encountered: