Skip to main content

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:

$ ./run_tests

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.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_cairo-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pytest-cairo-0.0.1.tar.gz.

File metadata

  • Download URL: pytest-cairo-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.8

File hashes

Hashes for pytest-cairo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6d3eaa2b857ee12086624a3ae6b83b57ce06984eb79f95dfce700a4ee17f5246
MD5 a13ed610b6c053ceecd3a7f002b19e7b
BLAKE2b-256 90216dbe32209d85d231f647de35a90b15a2875057cd0d5894f0e50186d7ccc6

See more details on using hashes here.

File details

Details for the file pytest_cairo-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pytest_cairo-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.8

File hashes

Hashes for pytest_cairo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de8fa6553907fbb48e7eba674f11f306ac21dbf6edd0043dbc51438aff6c0e48
MD5 019687235c7dec2982044cecddeb2d8a
BLAKE2b-256 ad299c69570a1a99ae7b45935dc3ae59de8f31bb74118119e3ebab9a6cd6935d

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