test-tools

Benchmark and test tools for Ethereum

Stars
10
Committers
1

Ethereum Test Tools

Benchmark and test tools for Ethereum implementations

Requirements

Python 3 and 2 is supported, but Python 3 is preferred.

Dependencies:

  • click - library for command line interface,
  • PyYAML - YAML implementations for Python,
  • tabulate - Pretty-print tabular data.

All dependencies can be installed by

pip3 install --user -r requirements.txt

Supported VMs

Example

  1. Register evm without JIT.

    python3 testeth.py tool register evm-jit /usr/bin/evm -- --nojit

  2. Register evm with JIT.

    python3 testeth.py tool register evm-jit /usr/bin/evm -- --forcejit

  3. Execute example performace tests.

    python3 testeth.py test tests/performance.yml

  4. Execute VM tests.

    python3 testeth.py test <path-to-tests-repo>/VMTests