Getting Started
-
Rust stable, with the
wasm32-unknown-unknowntarget.rustup default stable rustup target add wasm32-unknown-unknown -
Install chromedriver since some of our tests are meant to run in a browser. Put it somewhere in your path, i.e. you might move it to
/usr/local/bin/chromedriver.To run the browser tests in Firefox or Safari instead, install geckodriver or safaridriver and set
GECKODRIVER=geckodriverorSAFARIDRIVER=safaridriverwhen running./test.sh. -
Download the project, install
wasm-bindgen-cli, and make sure that you can run the test suitegit clone https://github.com/chinedufn/percy cd percy cargo install wasm-bindgen-cli ./test.sh