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-4.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for symbiont_io.pytest_assembly-4.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec0a5c1bd36c0a4865980d656a0766dc4da24bb55452cc6b390467ea113faeb2
MD5 2b3f2dd6944cb35e319f6b53182afb86
BLAKE2b-256 89787a37ebafe6ddc1f0d02380b2052a586ab7997b3f639a07a4a15c2140effc

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