cloudflare · Cloudflare Workers Docs
Workers Testing
A comparison of testing methodologies for Cloudflare Workers, evaluating Vitest integration, Miniflare API, and the unstable startWorker API based on features like unit testing, binding usage, and Durable Object support.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Testing
A comparison of testing methodologies for Cloudflare Workers, evaluating Vitest integration, Miniflare API, and the unstable startWorker API based on features like unit testing, binding usage, and Durable Object support.
When To Use
Use when deciding which testing framework or API to implement for Cloudflare Workers based on requirements for unit testing, binding usage, or Durable Object interaction.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-testing-index-workflow-guide.md | A comparison matrix outlining the different testing methods and tools available for the Cloudflare Workers platform. | Questions about a comparison matrix outlining the different testing methods and tools available for the Cloudflare Workers platform. |
What This Skill Covers
- The Workers platform has a variety of ways to test your applications, depending on your requirements. We recommend using the Vitest integration, which allows...
- Main sections:
Testing comparison matrix.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/testing/index.md
