Skip to main content

pytest cloudflare worker

CI Coverage pypi versions license

CloudFlare worker system tests packaged as a pytest plugin.

Features:

  • real environment - the plugin deploys your worker to a preview environment, then routes real HTTPS requests to the worker so you get a true environment in tests
  • advanced features - like environment variables and KV worker database work out of the box
  • wrangler integration - the plugin integrated with wrangler to build your worker and setup bindings like environment variables and KV worker namespaces
  • logging - logs from workers using console.log(...) are available in tests

In beta, this package is currently active development, API may change at any time

Install

pip install pytest-cloudflare-worker

Usage

TODO

Release files for pytest-cloudflare-worker 0.0.4

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

Source distribution (sdist)

Source distribution for pytest-cloudflare-worker 0.0.4
File Size Uploaded
pytest-cloudflare-worker-0.0.4.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-cloudflare-worker 0.0.4
File Interpreter ABI Platform
pytest_cloudflare_worker-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / pytest-cloudflare-worker-0.0.4.tar.gz

Download URL pytest-cloudflare-worker-0.0.4.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0e25a04961905996db1006646c3ee247853af1f05ca7d6732f027602b889e7ae
BLAKE2b-256 checksum
How to use checksums
c9f17696f038812550b3f97d3738729137639a5803f48fb880ce1a154c12df83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / pytest_cloudflare_worker-0.0.4-py3-none-any.whl

Download URL pytest_cloudflare_worker-0.0.4-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30b0f63ffbb6c9946de8f3a3d47cac4b2125ea76091c642efe0223bbe5c405e3
BLAKE2b-256 checksum
How to use checksums
2f1d9c9b5306961b3bfd1da61f4a91b0337ec0bf02ff6d831cdb55bc615ef592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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