cloudflare · Cloudflare Workers Docs
Testing Wrangler's unstable_startWorker()
An experimental API for writing integration tests by exposing Wrangler dev server internals to allow custom execution configurations and automatic loading of Wrangler configuration files.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Testing Wrangler's unstable_startWorker()
An experimental API for writing integration tests by exposing Wrangler dev server internals to allow custom execution configurations and automatic loading of Wrangler configuration files.
When To Use
Use when you need to write integration tests that require a custom Wrangler dev server environment or automatic loading of existing Wrangler configuration files.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-testing-unstable-5fstartworker-wrangler-s-startworker-workflow-guide.md | A guide explaining how to test the experimental unstable_startWorker() API within the Cloudflare Wrangler CLI environment. | Questions about a guide explaining how to test the experimental unstablestartWorker() API within the Cloudflare Wrangler CLI environm... |
examples/workers-testing-unstable-5fstartworker-wrangler-s-startworker-cloudflare.text | A JavaScript test script demonstrating how to use the unstable_startWorker() method in Wrangler to test a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A JavaScript test script demonstrating how to use the unstablestartWorker() method in Wrangler to test a Cloudflare W... |
What This Skill Covers
- Wrangler's unstable\startWorker()
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/unstable%5Fstartworker
