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

Re: Test names

From
Junio C Hamano <junkio@cox.net>
Date
Sep 5, 2006, 08:28 UTC
Message-ID
<7vd5aaiuoy.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<edifa7$h29$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 9 quoted lines
> In t/README it is written:
>...
> 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?

Nothing other than just to make them aline up and ordered nicely.

The rule was outlined long time ago but not strictly followed (primarily because was done when git was mostly core, and it did not anticipate the proliferation of Porcelain-ish wrappers, so it was rather hard to follow). I'd suggest you to declare that t92xx- series are for gitweb, and organize the tests in that namespace nicely. Also you might want to see what Eric did for the subversion interface tests (60d02cc declares that t91xx- series are SVN tests and gives an easy way to skip heavier tests on git-svn).

Previous: Jakub Narebski
Message 2 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.