[py-dev] unitest.main() equivalent

holger krekel hpk at trillke.net
Fri Apr 8 01:28:56 CEST 2005


Hi Huy, 

On Fri, Apr 08, 2005 at 09:00 +1000, Huy wrote:
> I was wondering if there is a unittest.main() equivalent in py.test

not really. 

> I'm basically trying to run my test directly in eclipse using pydev.

'pydev' means py.test, i guess?  Is it so that one runs 
tests with eclipse by running the file directly?  
Isn't there a way to customize eclipse by specifying that 
"python path/to/py.test FILE_OR_DIRECTORY" 
should be run for testing?

cheers, 

    holger



More information about the Pytest-dev mailing list