[TIP] public nose test suites?

holger krekel holger at merlinux.eu
Wed Aug 19 10:08:26 PDT 2009

On Sat, Aug 08, 2009 at 08:32 -0500, Augie Fackler wrote:
> On Aug 7, 2009, at 6:45 AM, holger krekel wrote:
>> i am currently playing a bit with a pytest_nose plugin that makes
>> it easier to run nose test suites with py.test - part of
>> an effort to converge in some ways, also serves me to
>> understand the differences better.  Can some people here
>> point me to some self-contained public repos, URLs or
>> tarballs that i just need to unpack and can run "nosetests"
>> 0.11.1 successfully on?
> hgsubversion works with both nose and a minimalistic run.py that just  
> uses regular pyunit.
> $ nosetests -i comprehensive
> will run the entire (comprehensive) testsuite, which is 364 tests. Some 
> tests are constructed at runtime "the hard way."
> hg clone http://bitbucket.org/durin42/hgsubversion/ to get the code.

thanks, works with 1.0.1 as well now - http://paste.pocoo.org/show/135245/
note that "py.test" will run the "comprehensive" ones by default. With: 

    py.test -k "-comprehensive"  

you can restrict to run only tests that don't have a "comprehensive" in 
their test or file name. 

best & thanks,

More information about the testing-in-python mailing list