- Install nix-shell (https://developer.holochain.org/docs/install/)
- Clone this repository
- Go to root folder where you see
default.nix
and runnix-shell
(It takes a lot of time just for the first time.) - Go to tests folder and run
npm i
- In the tests folder run
npm test
In case you run into compile errors - esp. relating to lazy_static, you may have to manually set the toolchain to the rust nightly release channel
- From the tests folder in nix-shell run
rustup toolchain install nightly
- And then
rustup override set nightly
and then runnpm test
again.
https://www.youtube.com/watch?v=1I4-5ujGxmY&list=PL2hOZGg8QnUDiTkJF2CD2Fu1D9F6KbsmB&index=2&t=837s
If you would like to participate and improve it, please send your PR.