Generic tests for common Ethereum standards utilizing Wake.
Project description
Tests for Wake
This Python package implements ready-to-use Python tests for the most common ERC standards. See the list of implemented tests below.
Dependencies
- Python (version 3.8 or higher)
- Wake (version 4.3.2 or higher)
Installation
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
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
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.
Other Standards
More standards (ERC-721, ERC-1155, etc.) are coming soon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eth_wake_tests-0.1.1.tar.gz
.
File metadata
- Download URL: eth_wake_tests-0.1.1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.4 Linux/6.6.9-200.fc39.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7015ac4e42fe4f176d3575104c5f91997a024156787c65599f48317614add8b7 |
|
MD5 | 106b33e1b3d5ba3e6b3a45791a77d010 |
|
BLAKE2b-256 | d8093882bb91e60b90ece2ea1ea0991d5f06ffea23cba960b6797570044033ee |
File details
Details for the file eth_wake_tests-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: eth_wake_tests-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.4 Linux/6.6.9-200.fc39.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d4251b217bdd7139d404157fee7db7d1899918328b26a0371192ac81b8a6765 |
|
MD5 | a1cc4a82de1db96740a123c03c99669c |
|
BLAKE2b-256 | 437d6cc740315cbea7c3980f08d11f20388af3ef8603d748a127e28d693e5229 |