Algorand Python Testing

algorand-python-testing is a companion package to Algorand Python that enables efficient unit testing of Algorand Python smart contracts in an offline environment. This package emulates key AVM behaviors without requiring a network connection, offering fast and reliable testing capabilities with a familiar Pythonic interface.

The algorand-python-testing package provides:

  • A simple interface for fast and reliable unit testing

  • An offline testing environment that simulates core AVM functionality

  • A familiar Pythonic experience, compatible with testing frameworks like pytest, unittest, and hypothesis

NOTE: This package is currently in preview and should be used with caution until the first stable release.

Quick Start

To get started refer to the official documentation.