# Code Review Testing

> Test authoring guidance

- Skill: `openai/code-review-testing` (Agent Skill)
- Install (CLI): `npx skillmds@latest add openai/code-review-testing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/openai/code-review-testing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: OpenAI (https://skillmd.com/u/openai)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/openai/code-review-testing

---


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.

