Skip to content

Python tests for the most common ERC standards. Built with Wake.

Notifications You must be signed in to change notification settings

Ackee-Blockchain/wake-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests for Wake

horizontal splitter

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.

About

Python tests for the most common ERC standards. Built with Wake.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages