Build:
cargo build
Build WASM (the output files are under /pkg):
cargo install wasm-pack
wasm-pack build --target web
Test all:
cargo test
Test a specific testcase and checkout the standard output, say test_conditional:
cargo test test_conditional -- --nocapture