# Code Review Testing

Test authoring guidance

- Repository: https://github.com/openinterpreter/openinterpreter (68772 stars)
- Category: Testing
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openinterpreter/openinterpreter --skill code-review-testing -g -a claude-code -y`
Codex: `npx skills add openinterpreter/openinterpreter --skill code-review-testing -g -a codex -y`
Cursor: `npx skills add openinterpreter/openinterpreter --skill code-review-testing -g -a cursor -y`
Gemini CLI: `npx skills add openinterpreter/openinterpreter --skill code-review-testing -g -a gemini-cli -y`

## Description

Test authoring guidance

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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.

