[TIP] pytest and nose - what's to choose between them?

Joe Riopel goon12 at gmail.com
Tue Aug 13 06:57:53 PDT 2013


On Tue, Aug 13, 2013 at 9:38 AM, Alex Gaynor <alex.gaynor at gmail.com> wrote:
> I'm a big fan of pytest, a few of the reasons why:
>
> * Uses the simple assert statement, without compromising useful tracebacks
> * Extremely powerful plugin system, and rich ecosystem of existing plugins
> * Friendly UI: --pdb covers both errors and exceptions, simple "-k
> <anything>" to filter test cases/functions
>
> Alex

+1 - Recently switched to pytest for these reasons.

We were using a homegrown tool to run unittest.TestCase style tests.



More information about the testing-in-python mailing list