confit-component-tests
This skill should be used when a developer asks to "write component tests", "add ConfIT tests for this controller", "I just implemented X, test it", "test this endpoint against mocks", "mock this dependency", "my component test is calling the real service", "the mock isn't matching", or when adding or editing test definitions in a ConfIT suite whose config has a component: section. Works from the developer's own source — the controller, its handlers and the outbound clients behind them — to produce test definitions plus the WireMock interactions they need. For black-box tests against a deployed environment, use confit-integration-tests instead.
Pinned to revision a4f219efc4d0, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/confit-component-tests/SKILL.md
- skills/confit-component-tests/references/mock-discovery.md
- skills/confit-component-tests/references/writing-tests.md
- skills/confit-component-tests/scripts/reference-path.sh
Every link opens the file at its source, pinned to the revision this page describes.