[Tutor] designing POOP

Alan Gauld alan.gauld at btinternet.com
Fri Feb 8 00:47:30 CET 2008


"Alan Gauld" <alan.gauld at btinternet.com> wrote 

>> What is the equivalent of JUnit in Python?
> 
> I think the nearest equivalent is
> 

Oops, I was going top say PyUnit then remembered the name 
had changed but forgot to check out the latest incarnation.
Fortyunately others have done the work for me.

Personally I like the Nose framework that comes with 
TurboGears but even hand written unit tests are no big 
deal in Python - just use asserts and other invariant 
checks and tests etc liberally.... 

Alan G.



More information about the Tutor mailing list