{"thread":{"id":"5478","subject":"Test names","startedAt":"2006-09-05T00:10:59Z","lastAt":"2006-09-05T08:28:13Z","messageCount":2,"participants":["Jakub Narebski","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"26342","messageId":"edifa7$h29$1@sea.gmane.org","threadId":"5478","inReplyTo":null,"subject":"Test names","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-09-05T00:10:59Z","receivedAt":"2006-09-05T00:10:59Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"In t/README it is written:\n\n> The test files are named as:\n>\n>         tNNNN-commandname-details.sh\n>\n> where N is a decimal digit.\n>\n> First digit tells the family:\n>\n>         0 - the absolute basics and global stuff\n> [...]\n>         7 - the porcelainish commands concerning the working tree\n\nThere are now some test which have 8 or 9 as first digit (e.g.\nt8002-blame.sh, t9001-send-email.sh). What is the family for them?\nWhat number for example gitweb test should have?\n\n> Second digit tells the particular command we are testing.\n\nIs there any naming rule, or just increment it by one when adding new test\nin the same family?\n\n> Third digit (optionally) tells the particular switch or group of switches\n>  we are testing.\n\nWhat tells the fourth digit?\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"},{"id":"26351","messageId":"7vd5aaiuoy.fsf@assigned-by-dhcp.cox.net","threadId":"5478","inReplyTo":"edifa7$h29$1@sea.gmane.org","subject":"Re: Test names","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-09-05T08:28:13Z","receivedAt":"2006-09-05T08:28:13Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jakub Narebski <jnareb@gmail.com> writes:\n\n> In t/README it is written:\n>...\n> Is there any naming rule, or just increment it by one when adding new test\n> in the same family?\n>\n>> Third digit (optionally) tells the particular switch or group of switches\n>>  we are testing.\n>\n> What tells the fourth digit?\n\nNothing other than just to make them aline up and ordered\nnicely.\n\nThe rule was outlined long time ago but not strictly followed\n(primarily because was done when git was mostly core, and it did\nnot anticipate the proliferation of Porcelain-ish wrappers, so\nit was rather hard to follow).  I'd suggest you to declare that\nt92xx- series are for gitweb, and organize the tests in that\nnamespace nicely.  Also you might want to see what Eric did for\nthe subversion interface tests (60d02cc declares that t91xx-\nseries are SVN tests and gives an easy way to skip heavier tests\non git-svn).\n"}]}