This Python package implements ready-to-use Python tests for the most common ERC standards. See the list of implemented tests below.
- Python (version 3.8 or higher)
- Wake (version 4.3.2 or higher)
The installation is simple. Just run the following command:
pip3 install eth-wake-tests
This will also install eth-wake
in case you don't have it installed already.
Test suites implement two types of tests: unit tests and fuzz tests. Unit tests are used to test individual functions and methods. Fuzz tests are used to test functions with random inputs. Fuzz tests are useful for finding bugs in functions that are not covered by unit tests.
ERC-20 tests are fully implemented. Test suites are inspired by Runtime Verification's ERC-20 tests. A comprehensive example of how to use the test suite as well as the comprehensive documentation can be found in examples/erc20.
More standards (ERC-721, ERC-1155, etc.) are coming soon.