Kent:

I just rechecked my class names, and there are no duplicates.  I was
careful to preface all of the classes in testsymc39 with 'C39...', and
used 'S25...' in testsym25.  Likewise, the classes in each module have
names that describe the type of data being tested, so names are unique
within each module as well.  

Is there a maximum length for class names?  Some of my class names are
pretty long, and only differ in the last few characters.  I'd be
surprised if that were the case in Python, but I'm short on other ideas.


Thanks for your help.  

Regards,
 
Barry
[EMAIL PROTECTED]
541-302-1107
________________________
We who cut mere stones must always be envisioning cathedrals.

-Quarry worker's creed


> -----Original Message-----
> Date: Fri, 07 Apr 2006 15:42:15 -0400
> From: Kent Johnson <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Unittest not running all test cases
> Cc: tutor@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 

<<snip>>

> 
> I don't think there is a limit like this. I wonder, do you have any
name
> collisions? For example if testsymc39 and testsym25 both contain class
> TestSym then only the second one will run because it will shadow the
> name from the first module.
> 
> If this is the case you need a more sophisticated way of accumulating
> tests. You might want to look into using nose or one of the other
> test-discovery frameworks listed here:
>
http://pycheesecake.org/wiki/PythonTestingToolsTaxonomy#UnitTestingTools
> 
> Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to