test naming
Wouter van Heyst
larstiq at larstiq.dyndns.org
Fri Dec 9 17:52:27 GMT 2005
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
More information about the bazaar
mailing list