wd-test-format

Installation
SKILL.md

.wd-test File Format

.wd-test files are Cap'n Proto configs that define test workers for workerd's test framework. They use the schema defined in src/workerd/server/workerd.capnp.


MANDATORY: Load Reference File When Relevant

This skill is split across multiple files for context efficiency. The core patterns below cover standard single-service tests. Advanced configuration patterns live in a reference file.

You MUST read the reference file before writing or reviewing test configs that involve its subject matter. Do not guess at advanced config syntax — the reference file contains the exact patterns and fields required. Skipping it WILL lead to incorrect configs that fail at runtime.

File MUST load when...
reference/advanced-configs.md Test involves Durable Objects, multiple services
communicating via service bindings, outbound network access,
Related skills

More from cloudflare/workerd

Installs
16
GitHub Stars
8.2K
First Seen
Mar 20, 2026