Pytest support for cairo-lang and starknet
Project description
pytest-cairo: pytest support for cairo-lang and starknet
Usage
To install:
$ pip install pytest-cairo
The plugin will automatically run any function with a test
prefix, from files with a test_
prefix and a .cairo
extension.
For examples see test resources.
Development
To install development dependencies, run:
$ pip install -r requirements-dev.txt
Run tests with:
$ pytest
or:
$ docker-compose run test
To run tests against all supported interpreters (using docker-compose
):
$ tox
This assumes tox
, docker
and docker-compose
are installed.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-cairo-0.0.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for pytest_cairo-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe0740a6a6cfe040d8514538172300c27b5621984056275a991d6159d2e8998 |
|
MD5 | bdab936b802f253fd3026771628b667d |
|
BLAKE2b-256 | bb94ea59d7a0f94ef2313cdf69655fb94afb3c8889942ab26ea373894b187b20 |