August 2019
Intermediate to advanced
486 pages
13h 52m
English
To write the test cases for our contracts, we will need to install some dependencies. We will use the chai test framework to write tests in JavaScript.
$ npm install chai
To install the OpenZeppelin Test Helpers package, execute the following command:
$ npm install openzeppelin-test-helpers
In this project, we wrote two test files for our contracts. These files are present under the project's test folder: