Skip to main content

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

Metadata

Release files for symbiont-io.pytest-assembly 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for symbiont-io.pytest-assembly 4.1.0
File Interpreter ABI Platform
symbiont_io.pytest_assembly-4.1.0-py3-none-any.whl Python 3 none any Details

Release files / symbiont_io.pytest_assembly-4.1.0-py3-none-any.whl

Download URL symbiont_io.pytest_assembly-4.1.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
278b00cfbb9e2038855c2ceb5f8035314e844ade86c197fda6eaa166122235ce
BLAKE2b-256 checksum
How to use checksums
c66a438b554448eaf04a6a33bdffd8950d7fc6a3fade5a16714b2462915632f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.1

Release history Release notifications | RSS feed

This release

4.1.0 This release

1 release file

4.0.0

1 release file

3.0.0

1 release file

2.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page