Skip to main content

No project description provided

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

Uploaded Source

Built Distribution

pytest_cairo-0.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-cairo-0.0.0.tar.gz
  • Upload date:
  • Size: 3.4 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.8

File hashes

Hashes for pytest-cairo-0.0.0.tar.gz
Algorithm Hash digest
SHA256 1a63fe4499804afd8f0d8a33b406c3797e61609e918c17147aa4d0e483d50a1a
MD5 594d98cf7a5ea3331dd9830b196e5325
BLAKE2b-256 5a862dd65f1c1c4ab34fd739bc28cf80ac1f083454f22f263f38a87315651335

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_cairo-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.8

File hashes

Hashes for pytest_cairo-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9d539e21f6d1dbac56e71a7660898bcc0d31eb127c51e5f17b3f898ace040d
MD5 a09a1726649c0656efbc24d5bc898028
BLAKE2b-256 df5c2376680233b73ec1cb99545cebe942a30e6daac989d70dc01c1b474e8b90

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page