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

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.

File details

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

File metadata

File hashes

Hashes for symbiont_io.pytest_assembly-3.1.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 a1f7b84cc3d67219e1f8837cd949d679d71f92252d147ae3491e7e5b27a663cf
MD5 9d53e5455bc120ec632030466293569c
BLAKE2b-256 208a9b2258db959c338679edcbfd56ea9de9bbc46e753f0445056c74627fef26

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