test naming
John Arbash Meinel
john at arbash-meinel.com
Sat Dec 10 01:35:22 GMT 2005
Wouter van Heyst wrote:
> On Thu, Nov 24, 2005 at 10:38:34AM +1100, Martin Pool wrote:
>
>>On 24 Nov 2005, Robert Collins <robertc at robertcollins.net> wrote:
>>
>>
>>>so PEP8 says it should be testcommitmerge.py not test_commitmerge.py or
>>>testcommit_merge.py or test_commit_merge.py. I'm pretty sure we have a
>>>not on this in HACKING.
>>
>>I'm inclined to go with John here, despite PEP 8 (and despite it
>>generally being a good thing to follow PEP 8). The justification given
>>there is that some filesystems truncate long names. That is not true
>>for any platform we run on or are likely to run on. So it's trumped by
>>the meta-rule that readability is more important.
>
>
> HACKING still recommends testFOO.py over test_FOO.py, has a decision not
> yet been made, or does it need to be documented?
>
> Wouter van Heyst
>
>
I think it needs to be documented. Because Martin did make a comment
about using test_FOO for clarity.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051209/4ec825a7/attachment.pgp
More information about the bazaar
mailing list