To launch the smart contract tests, open 2 consoles.
In the first console:
Install Truffle
npm install -g truffle
Install Ganache-cli (a test blockchain)
npm install -g ganache-cli
Launch Ganache-cli
ganache-cli
In the second console:
Download the repo:
git clone https://github.com/valanterlab/piggybreaker-tests.git
Enter the repo:
cd piggybreaker-tests/
Install the libraries:
npm install
Then you can launch the tests:
npm test