Skip to main content

tidb-integrationtest-recorder

Use when recording TiDB integration tests under tests/integrationtest and verifying regenerated result files stay minimal and correct.

Jump to install

Source facts

Repository
pingcap/tidb
Last source activity
March 12, 2026 at 11:55
Detected SKILL.md language
English
Stars
40,563
Forks
6,243

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
tidb-integrationtest-recorder
description
Use when recording TiDB integration tests under tests/integrationtest and verifying regenerated result files stay minimal and correct.
# TiDB Integration Test Recorder ## Overview Use this workflow for changes under `tests/integrationtest/t/**` or when SQL behavior needs integration coverage. Do not use `-record` for this suite. Canonical command details live in `docs/agents/testing-flow.md` -> `Integration tests (/tests/integrationtest)`. ## Workflow 1. Use `docs/agents/testing-flow.md` -> `Integration tests (/tests/integrationtest)` for the recording command. 2. Derive `TestName` from the path under `tests/integrationtest/t/` without the `.test` suffix (example: `planner/core/binary_plan`). 3. Review changed files in `tests/integrationtest/r/**` and keep result diffs minimal. ## Guardrails - Prefer targeted recording of the affected suite only. - Avoid unrelated result churn. - If result files need manual edits, keep them minimal and verify with another run.
View on GitHub