Skip to content
Kitbay
Skill

tidb-integrationtest-recorder

Apache-2.0Updated on Nov 11, 202640,730GitHub stars

A maintainer skill in the TiDB repository for recording the SQL integration tests under tests/integrationtest and checking that regenerated result files stay small and correct.

What the skill teaches

A maintainer skill in the TiDB repository for recording the SQL integration tests under tests/integrationtest and checking that regenerated result files stay small and correct. It applies to changes in the suite's test files and to SQL behaviour that needs integration coverage, and warns against using the -record flag for this suite. The agent looks up the recording command in the repository's testing-flow guide, derives the test name from the file's path without its .test suffix, records only the affected suite, and reviews the changed result files to confirm the differences are minimal. Any hand edits to result files are kept small and followed by a fresh test run.

Capabilities

  • Record one TiDB integration test suite
  • Derive test names from file paths
  • Review regenerated result files