Cupel v0.5.1
GitHub

Extend Cupel#

Cupel accepts extensions as files and commands outside its process. It never imports third-party extension code. The normative contract is SPEC.md, especially sections 3, 4, 14 and 15; the current schemas are config, input and report. The package ships copies of those schemas.

NeedEntry pointGuide
Tier paths, title words and brittleness rulescupel.jsonConfig
Results from an existing toolcupel-spec/1 JSON and cupel importInput
Run another test toolrunners.<name>.collector commandExternal collectors
Per-test coverage in a frameworkList, select, boundaries, tagsAdapter template

Start with the small input example: cupel validate docs/extending/example-input.json, then cupel report --input docs/extending/example-input.json --json. The file demonstrates a valid input and its limits; it is not a substitute for executing tests.

The external collector demo actually runs a tiny test and emits status-only input. It makes the absent coverage evidence explicit.

The unittest example was built by a fresh agent using only these public documents and their linked specification. Its measured tiny fixture exercises list, exact selection, boundaries and tags. Its unsupported recheck and multi-run modes fail explicitly; it is a documentation acceptance example, not a production unittest collector.

A status-only collector can pass its own fixture-output check while providing no per-test coverage, boundaries or tags. That is command/input acceptance, not full framework-adapter certification. A framework adapter must implement all four operations in SPEC section 15 and test their behavior. The current cupel conformance command checks the emitted input; it does not independently certify the other operations. Name the supported capability in every result.

An adapter must produce measured data from the runner, including failures and setup coverage. Validate its output, run the adapter conformance command, then exercise it on a real repository. A schema-valid report alone does not prove the collector's coverage or selection behavior.

Versions and compatibility are in Stability. The spec and schemas take precedence when these examples lag a rule change.

Edit this page on GitHub