wasm-pack icon indicating copy to clipboard operation
wasm-pack copied to clipboard

Support nextest

Open gitmalong opened this issue 2 years ago • 2 comments

💡 Feature description

cargo test does not has any test progress indicator so it would be great to see nextest integrated for better dev experience.

https://nexte.st/

According to the maintainers of nextest it should be not so difficult to integrate https://github.com/nextest-rs/nextest/issues/952

gitmalong avatar Sep 07 '23 16:09 gitmalong

Maintainer of nextest here, happy to help if there are any issues! For Miri it was dead simple: https://github.com/rust-lang/miri/pull/2398

In particular, I noticed this bullet point at https://github.com/rustwasm/wasm-bindgen/blob/main/crates/test/README.md:

Running each test in its own wasm instance to avoid poisoning the environment on panic

that you would get for free with nextest.

sunshowers avatar Sep 07 '23 18:09 sunshowers

https://github.com/rustwasm/wasm-pack/blob/7d6501d3cd272b7ea27034158d88bfd5c0005913/src/build/mod.rs#L128

This is where tests are built.

https://github.com/rustwasm/wasm-pack/blob/7d6501d3cd272b7ea27034158d88bfd5c0005913/src/test/mod.rs#L14

This is where teste are executed.

gitmalong avatar Sep 17 '23 21:09 gitmalong