Michelson integration tests

Basics

Make sure you are familiar with the unittest package, if not - check out the docs: https://docs.python.org/3/library/unittest.html

Michelson tests are mostly based on two high-level interfaces:

There are also two options of executing Michelson scripts:

Step by step guide

Read this Medium article: https://medium.com/tezoscommons/testing-michelson-contracts-with-pytezos-513718499e93

Test samples

Check out test examples in this repo: https://github.com/baking-bad/pytezos/tree/master/examples

Projects using PyTezos

See how PyTezos testing engine is used in production: