what test runner should I use?

Chris Withers chris at simplistix.co.uk
Tue Jan 19 11:56:34 CET 2010

Hi All,

I'm wondering what test runner I should use. Here's my list of requirements:

- cross platform (I develop for and on Windows, Linux and Mac)

- should not prevent tests from running with other test runners
   (so no plugins/layers/etc that only work with one specific test

- should work with zc.buildout (preferably without a specialist recipe!)

So far I've tried the following with the resultant problems:


  - requires a special recipe to be useful
  - now emits deprecation warnings from itself:
  - coverage support is baroque to put it politely

twisted's trial

  - only has old-style script definition in setup.py, so doesn't work
    with buildout without hackery

  - drops _twisted_trial folders all over the place and doesn't clear
    them up


  - can't see to get it to run only my packages tests, rather than
    including the tests of packages my package depends on

  - seems to be focused towards files rather than modules
    (which makes it not play nicely with buildout)

  - seems to be difficult to provide options to at configuration time
    that can then be overridden on the command line

I did also look at py.test's homepage but found it pretty scary.

What other options do people recommend?
Failing that, any ideas how to fix the problems above?



More information about the Python-list mailing list