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.7.0 · 380 tests · MIT

Trigger model

Stop hook + session_start

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 Codex's stop hook + session_start.

Codex CLI session
> Add discount validator to checkout.py
# Stop hook + session_start 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

Three-step install
Step 1: git clone https://github.com/avansaber/tailtest-codex ~/.codex/plugins/tailtest
Step 2: enable hooks in ~/.codex/config.toml ([features] codex_hooks = true)
Step 3: cd <your-project> && bash ~/.codex/plugins/tailtest/scripts/init.sh
# Start codex. Then just build.

Why pick the Codex CLI variant

Codex CLI users wanting hook-driven Stop event integration.