{"thread":{"id":"622","subject":"Test scripts naming","startedAt":"2005-05-14T16:53:21Z","lastAt":"2005-05-14T17:18:02Z","messageCount":2,"participants":["Petr Baudis","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"3330","messageId":"20050514165321.GX3905@pasky.ji.cz","threadId":"622","inReplyTo":null,"subject":"Test scripts naming","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-05-14T16:53:21Z","receivedAt":"2005-05-14T16:53:21Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hello,\n\n  I think we should do something about the test script names. Currently\nit appears almost like the scripts are basically unordered, and the\ndigit you increment is chosen mostly randomly. Also, the \"freeform\"\nfield after the test number is not as informative as it could be. What\nare the rules you use for naming the testcases? Could you please\ndocument it in the README?\n\n  I'd propose:\n\n  First digit: \"family\", e.g. the absolute basics and global stuff (0),\nthe basic db-side commands (read-tree, write-tree, commit-tree), the\nbasic working-tree-side commands (checkout-cache, update-cache), the\nother basic commands (ls-files), the diff commands, the pull commands,\nexporting commands, revision tree commands...\n\n  Second digit: the particular command we are testing\n\n  Third digit: (optionally) the particular switch or group of switches\nwe are testing\n\n  Freeform part: commandname-details\n\n  How would I rename the current scripts?\n\nt1000-checkout-cache.sh -> t2000-checkout-cache-clash.sh\nt1001-checkout-cache.sh -> t2001-checkout-cache-clash.sh\nt0200-update-cache.sh   -> t2010-update-cache-badpath.sh\nt0400-ls-files.sh       -> t3000-ls-files-others.sh\nt0500-ls-files.sh       -> t3010-ls-files-killed.sh\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"},{"id":"3331","messageId":"7v3bspzpyt.fsf@assigned-by-dhcp.cox.net","threadId":"622","inReplyTo":"20050514165321.GX3905@pasky.ji.cz","subject":"Re: Test scripts naming","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-05-14T17:18:02Z","receivedAt":"2005-05-14T17:18:02Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":">>>>> \"PB\" == Petr Baudis <pasky@ucw.cz> writes:\n\nPB>   I'd propose:\nPB> ...\nPB> t0500-ls-files.sh       -> t3010-ls-files-killed.sh\n\nAgreed to all of the above.  I will not be online most of today\nso if you feel like it, I'd really appreciate it if you do the\nrenames and documentation yourself without waiting for me.\n\n\n"}]}