Skip to main content

TestSuite4 is a framework designed to simplify development and testing of TON Contracts

Project description

TestSuite4 0.4.1

Chat on Telegram

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 on your local Windows, Linux or macOS. You can also easily compile it from source if needed.

See tutorials for self-documented examples of framework usage.

List of tutorials

Quick Start

Warning You might need to replace python and pip with python3 and pip3 if you are running Linux or macOS.

If you have Python 3.6-3.10, pip and git installed on your system, you can proceed with the following steps.

  • Install tonos-ts4 package:
pip install tonos-ts4
  • Download tutorials from GitHub:
git clone git@github.com:tonlabs/TestSuite4.git
  • ... and run the tutorials:
cd TestSuite4/tutorials
python tutorial01_getters.py

For more information, visit TestSuite4's documentation.

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.4.1-py3-none-any.whl (23.6 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