Labsco
openai logo

code-review-testing

✓ Official95,500

by openai · part of openai/codex

Test authoring guidance

🔥🔥FreeQuick setup
🔒 Repo-maintenance skill. It exists to help maintain openai/codex itself — it's only useful if you contribute code to that project.

Test authoring guidance

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.


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.