[wingide-users] Tests in Wing IDE 3.0

Lawrence Oluyede l.oluyede at gmail.com
Mon Nov 19 06:39:54 MST 2007


> unittest (& nose):
> self.AssertEquals(x, 'pants')

Never used this with nose. nose does support assert x == 'pants'.
If you don't import nothing from py or nose you can execute the same
tests with both

> py.test has an option to drop into pdb on a failed test,

So does nose:

nosetests --pdb

or

nosetests --pdb-failures

Bye

-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand
something when his salary depends on not
understanding it" - Upton Sinclair


More information about the wingide-users mailing list