git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Test names

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 5, 2006, 00:10 UTC
Message-ID
<edifa7$h29$1@sea.gmane.org>
In t/README it is written:
Show 11 quoted lines
> The test files are named as:
>
>         tNNNN-commandname-details.sh
>
> where N is a decimal digit.
>
> First digit tells the family:
>
>         0 - the absolute basics and global stuff
> [...]
>         7 - the porcelainish commands concerning the working tree

There are now some test which have 8 or 9 as first digit (e.g. t8002-blame.sh, t9001-send-email.sh). What is the family for them? What number for example gitweb test should have?

> Second digit tells the particular command we are testing.

Is there any naming rule, or just increment it by one when adding new test in the same family?

> Third digit (optionally) tells the particular switch or group of switches
>  we are testing.
What tells the fourth digit?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Next: Junio C Hamano
Message 1 of 2 in “Test names”
  1. Jakub NarebskiSep 5, 2006
  2. Junio C HamanoSep 5, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.