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

File metadata

File hashes

Hashes for symbiont_io.pytest_assembly-4.0.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 07b6d797b409ae50186d5d34314a157a3b346f476b5ff40bafddc5cd5aaad15e
MD5 f43e54337ba50737e2226ff07ded6fb1
BLAKE2b-256 e5a789063c0b5f1cb07ec36c91f1467f6753ec0a9de0ddb70025d9a3febf3872

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