At first, you need to set up a Python 3 virtualenv, and also need to have npm installed and be able to install packages globally on it. You’ll also need to install solc.
Then you need to install a main dependency for the CLI utility:
pip3 install click==8.0.3
After this, you can use from the project root directory:
./clickfile.py --help
This file contains a lot of utilities to work with this repository, such as:
- update deps
- download test contracts
- run different tests
- prepare data and stand for run tests
Please use clickfile.py to install deps because our web3 has conflicts with solana package, and this problem is resolved in:
./clickfile.py requirements
To download test contracts from the Neon EVM repo, you need to use:
./clickfile.py contracts
To run OpenZeppelin tests, just use the next command:
./clickfile.py run oz --network <your-stand> --jobs 8
You can run all tests manually if know which framework it uses. For example, economy tests:
py.test integration/tests/economy/test_economics.py
- --network - which network uses for run tests (from file envs.json)
- --envs - change file name with networks