Nick Fitzgerald
fa61f90909
tests: Make tests run faster by using Fixture builders
...
Instead of copying directories, just build the fixtures directly in the
temporary directory.
7 years ago
Nick Fitzgerald
577d1b33e6
feature(test): Add a `wasm-pack test` subcommand
...
This uses `wasm-bindgen-test` under the hood.
Fixes #248
7 years ago
Nick Fitzgerald
7ab7a3f2cb
feature: Use pre-built `wasm-bindgen` CLIs from Github releases
...
Implements downloading tarballs from `wasm-bindgen`'s GitHub releases page and
using them if the current target has pre-built binaries.
7 years ago
Nick Fitzgerald
16acfd38c3
tests: Only invoke `copy_dir` once at a time
...
I don't understand why at all, but doing many `copy_dir`s at once makes my whole
machine freeze up.
7 years ago
Nick Fitzgerald
e2e3e49f50
test: Add a failing test case for #242
7 years ago
Nick Fitzgerald
50eaa8c04d
tests: Use the `tempfile` crate instead of the deprecated `tempdir`
...
The `tempdir` crate is deprecated and its functionality has been folded into the
`tempfile` crate.
7 years ago
Nick Fitzgerald
ccd8edbae1
tests: Copy fixtures into unique temporary directories
...
If a test is going to do a potentially destructive operation, instead of
mutating shared fixtures, it should copy the fixture to its own unique directory
and then mutate that copy (doesn't this sound like Rust's borrowing and
ownership rules?! ^.^)
7 years ago