Skip to main content

TestSuite4 is a framework for simplify development and testing of TON Contracts

Project description

TestSuite4 0.1.2

TestSuite4 is a framework designed to simplify development and testing of TON Contracts. It contains lightweight blockchain emulator making it easy to develop contracts in a TDD-friendly style.

Features:

  • Speed - perform dozens of tests in just seconds.
  • Complex test scenarios - using Python as a scripting language allows you to create testing scenarios of varying complexity.
  • Deep Integration - access all internal messages, measure gas and control time.
  • Easy installation - use pip install tonos-ts4 to install TestSuite4 to your local Windows, Linux or macOS. Also you can easiliy compile it from source if needed.

See tutorials for self-documented examples of framework usage.

List of tutorials

Prerequesites

  • Python 3.6-3.9
  • Latest version of Rust
  • Cargo tool

Build for Linux and macOS

cd linker_lib && cargo update && ./build_release.sh

Build for Windows

cd linker_lib && cargo update && build_release.sh

Installing package in development mode

python3 setup.py develop # Linux and macOS
python setup.py develop # Windows

Disable developer mode

python3 setup.py develop --uninstall # Linux and macOS
python setup.py develop --uninstall # Windows

Run tutorials

cd tutorials
python3 tutorial01_getters.py # Linux and macOS
python tutorial01_getters.py # Windows

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tonos_ts4-0.1.2rc0-py3-none-any.whl (13.1 MB view hashes)

Uploaded Python 3

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