cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.6k stars 367 forks source link

Add UI test #1037

Open Emilgardis opened 2 years ago

Emilgardis commented 2 years ago

We should consider using UI tests to the CI/tests ala snapbox or trycmd

this would help catch unexpected changes to output that don't necessarily cause the build to error.

Alexhuszagh commented 1 year ago

~~I think assert_cmd might be the proper tool for the job here: https://crates.io/crates/assert_cmd~~

Edit: trycmd is probably better, and I'll try to configure it entirely tomorrow.

Alexhuszagh commented 1 year ago

I think some variant of this should be finished prior to 0.3.0, just to avoid any regressions during our next release.