[TIP] testfixtures and mock (was: testfixtures 2.3.5 Released!)

Ben Finney ben+python at benfinney.id.au
Mon Aug 13 02:22:51 PDT 2012


Chris Withers <chris at simplistix.co.uk> writes:

> I'm pleased to announce the release of testfixtures 2.3.5. testfixtures is
> a collection of helpers for writing succinct unit tests including help for:
>
> - Comparing objects and sequences
> - Mocking out objects and methods
> - Testing logging
> - Testing stream output
> - Testing with files and directories
> - Testing exceptions

How much feature overlap do you see between the current versions of the
‘textfixtures’ and ‘mock’ libraries? How well do they work together (as
distinct from merely co-existing)?

-- 
 \     “I object to doing things that computers can do.” —Olin Shivers |
  `\                                                                   |
_o__)                                                                  |
Ben Finney




More information about the testing-in-python mailing list