The Tech Meta

An inside look at tech's evolving playbook

Test command in the instructions

Test AI observed

The instruction file tells the agent which command runs the tests, so it can check its own work.

The instruction file at the root of the repo names the command that runs the tests, such as pnpm test, pytest or cargo test, often with how to run a single file. With it, an agent can run the tests after a change and see what it broke, rather than guess or skip the step. It is a line or a section of a file the team already has, not a file of its own. The site reads the text of the root instruction files and counts a repo when one of them names a test command, in a sentence or in a code block.

  • Pro scene today: 56%, 124 of 221 pro repos
  • In three months: –
  • Kept: –

Pro 56% · Ladder 24% · 2.4×

Insight: 32 of the 38 root instruction files that name no test command sit in repos that run tests in CI.

In the pro repos

The 6 most starred of the 124 pro repos that have it today.

By month

MonthPro scene
June 20257%
July 202513%
August 202517%
September 202522%
October 202524%
November 202525%
December 202526%
January 202628%
February 202633%
March 202638%
April 202641%
May 202644%
June 202647%
July 202649%
August 202651%
September 202652%
October 202652%
November 202654%
today56%

Inside the practice

What the instruction file names

Of the repos with an instruction file at the root. Read from its text.

  • A command to run the tests: 77%, 124 of 162
  • A lint or format command: 64%, 104 of 162
  • A type check: 43%, 69 of 162
  • All three: 36%, 58 of 162

Evidence

  • Observed. Published study, November 2025: In 2,303 agent context files from 1,925 repos, 75.9% give test procedures. Source: Agent READMEs, arXiv 2511.12884

How it is detected

Looks for a root instruction file that names a command to run the tests. Read in instruction files. How the method counts

Related practices

More in Test, the most adopted first.

Levels of evidence