Codex NUnit Garden Catalogue Tests with Scenario Names
Design Garden Catalogue Kata tests in NUnit with clear scenario and outcome names, Arrange Act Assert structure, and grouped assertions where useful.
中文Install in Codex
Open the Garden Catalogue Test Design Kata C# project in Codex. Supply verified inputs and expected behavior.
- Review `csharp/GardenCatalogue-TestDesign-Kata/.agents/skills/unit-test-design/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/unit-test-design/` in your project and save the reviewed file as `.agents/skills/unit-test-design/SKILL.md`.
- Start Codex from that project's root, then type `$unit-test-design` and select the matching skill.
Example task
Design a catalogue lookup test for a missing plant name.
{"catalogue":["rose","tulip"],"lookup":"iris","expectedMatches":0}What to check
Propose `LookupMissingPlant_ReturnsNoMatches`. Arrange the two records, look up iris once, and assert `matches=0`.
Original SKILL.md on GitHub · Updated
Frequently asked question
When should I use Assert.Multiple?
Group several related expected results from one scenario with Assert.Multiple. Use a single assertion for one result.