Skip to main content

Automated test demo for Codex CLI

Automated test demo for Codex CLI

tailtest fires every time Codex CLI edits a file. See it run.

tailtest for Codex CLI v4.9.0 · 400 tests · MIT

Trigger model

PostToolUse + Stop hook

IDE coverage

Codex CLI

Best for

Codex CLI users wanting hook-driven Stop event integration.

How tailtest fires in Codex CLI

Codex CLI plugin. Hook-driven via PostToolUse, SessionStart, and Stop events.

Codex CLI session
> Add discount validator to checkout.py
# PostToolUse + Stop hook fires
tailtest: checkout.py queued
Generating scenarios... 8 written
pytest -q tests/test_checkout.py
8 passed 0.3s
tailtest: 8 scenarios -- all passed.
# Codex CLI keeps building.

Install in Codex CLI

Two-step install
Step 1: git clone https://github.com/avansaber/tailtest-codex ~/.codex/plugins/tailtest
Step 2: cd <your-project> && bash ~/.codex/plugins/tailtest/scripts/init.sh
# Requires Codex CLI 0.129.0 or newer (hooks GA, on by default). Start codex. Then just build.

Why pick the Codex CLI variant

Codex CLI users wanting hook-driven Stop event integration.