The Testsuite is a set of tests that are used to verify the proper functioning of the protocol. It involves instantiating the protocol and running integration tests.
To run all tests:
yarn test
To only instantiate the protocol:
yarn test -t 'setup protocol'
To setup fees configurations:
yarn test -t 'fees'
To pre-populate the price contract, you can run this code:
yarn test -t 'price test'
You can also combine all this tests using |
between each code, example:
yarn test -t 'setup protocol|fees|price test'