Skip to main content

Generic tests for common Ethereum standards utilizing Wake.

Project description

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:

pip 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eth_wake_tests-0.1.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

eth_wake_tests-0.1.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file eth_wake_tests-0.1.0.tar.gz.

File metadata

  • Download URL: eth_wake_tests-0.1.0.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

Hashes for eth_wake_tests-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd398349e26127d18f5399ecae5f815f9c58eb74bc56f6875e6331431663687e
MD5 a3a812dcba8eb82bc7c789ec199639eb
BLAKE2b-256 cb41a2dc99ee813b3a2d540260c64c703b1564ef9e542d162c4d23c077d33fc8

See more details on using hashes here.

File details

Details for the file eth_wake_tests-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eth_wake_tests-0.1.0-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

Hashes for eth_wake_tests-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94991dbc1a3ec08f4aac2b5acc2958192ff94480136a6a1c9338e941df307760
MD5 0117fa29c5a664d77446887489a9a130
BLAKE2b-256 59898074003c8626dd47a8d23b70ecb2ad17aa39b5b93ea67b0417b69d4c6585

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page