Coco Contract Testing

Turn a component's contract into a test suite that provides evidence the implementation satisfies it, and build verified fakes for components that wrap stateful services (storage, RPCs). Use this during implementation of a coco component-contract codebase — when writing tests for a component whose behavior is specified by a contract, when a contract clause needs test evidence, or when a component needs an in-memory fake that must stay faithful to the real implementation. Plugs into the structured-spec-to-code implementation phase (task-to-code). Reach for this whenever contract clauses need to become tests or a fake must be shown to match the real thing.

ono-sendai-labs Updated

File contents

ono-sendai-labs/agent-skills/tree/main/component-contracts/coco-contract-testing commit 995d3a1cc5

Frequently asked questions

npx skillmds@latest add ono-sendai-labs/coco-contract-testing