Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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 tool to implement for Cloudflare Workers based on specific requirements like unit testing, binding access, or Durable Object support.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-testing-workflow-guide.mdA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/testing