Agent Skills: code-review-testing

Test authoring guidance

UncategorizedID: openai/codex/code-review-testing

Repository

openaiLicense: Apache-2.0
95,80914,219

Install this agent skill to your local

pnpm dlx add-skill https://github.com/openai/codex/tree/HEAD/.codex/skills/code-review-testing

Skill Files

Browse the full folder contents for code-review-testing.

Download Skill

Loading file tree…

.codex/skills/code-review-testing/SKILL.md

Skill Metadata

Name
code-review-testing
Description
Test authoring guidance

For agent changes prefer integration tests over unit tests. Integration tests are under core/suite and use test_codex to set up a test instance of codex.

Features that change the agent logic MUST add an integration test:

  • Provide a list of major logic changes and user-facing behaviors that need to be tested.

If unit tests are needed, put them in a dedicated test file (*_tests.rs). Avoid test-only functions in the main implementation.

Check whether there are existing helpers to make tests more streamlined and readable.