Open epage opened 4 months ago
Could you point out the specific tests needing this?
We could look into other ways of solving that but I hadn't yet
--no-run
?assert_e2e().eq
--no-run
seems like a viable solution for Cargo. In an ideal world everything should be JSON under --message-forma=json
. I don't really think snapbox
is responsible for this misfortune.
I don't really think snapbox is responsible for this misfortune.
If only the world was so clean.
For example, I was looking at cargo's compilation for other reasons and cargo emits json on stderr and we only parse lines starting as {
as json, forwarding the rest on to stderr.
rust-lang/cargo#14297 dropped the priority of this
Cargo needs this for testing
cargo test
. This was found while testing the fix for #348.