Skip to main content

Symbiont Assembly SDK

Project description

Pytest-Assembly

A pytest plugin to run tests for Smart Contracts on Assembly. For examples of comprehensive tests, please see one of our example contracts; Auction, Chat

Works with Python 3.9.1+

Usage

Note: A running network is required to run tests, a local development network can be started easily with the sym tool.

    pytest my_contract_test.py \
           --contract-path path/to/contracts/to/be/tested path/to/other_contracts/to/be/tested\
           --connection-file $HOME/.symbiont/assembly-dev/dev-network/default/network-config.json \
           -vvv -s --skip-consistency-check

Documentation about how to write pytests for Assembly smart contracts can be found on the Symbiont Customer Portal

Project details


Release history Release notifications | RSS feed

This version

4.0.0

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

If you're not sure about the file name format, learn more about wheel file names.

symbiont_io.pytest_assembly-4.0.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file symbiont_io.pytest_assembly-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for symbiont_io.pytest_assembly-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3845e63d1891dd3e31ce39843435a74732ac12c8c26ea8e32bfd190f6e24ea7
MD5 71b4286ab943d33c5d72b98b0a68b1c8
BLAKE2b-256 e08b8b8457a04d736609280a5b18ce5d788575d3144bfb58218325371658d5ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page