Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > testfixtures 2.3.5 Released!

Thread Tools

testfixtures 2.3.5 Released!

Chris Withers
Posts: n/a
Hi All,

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

Better feedback when the results aren't as you expected along with
support for comparison of objects that don't normally support comparison.

- Mocking out objects and methods

Easy to use ways of stubbing out objects, classes or individual methods
for both doc tests and unit tests. Special helpers are provided for
testing with dates and times.

- Testing logging

Helpers for capturing logging output in both doc tests and unit tests.

- Testing stream output

Helpers for capturing stream output, such as that from print statements,
and making assertion about it.

- Testing with files and directories

Support for creating and checking files and directories in sandboxes for
both doc tests and unit tests.

- Testing exceptions

Easy to use ways of checking that a certain exception is raised, even
down the to the parameters the exception is raised with.

This release fixes a small bug that meant failures in dictionary
comparison didn't always produce the same output. (It was correct, just
partly unsorted)

The package is on PyPI and a full list of all the links to docs, issue
trackers and the like can be found here:

Any questions, please do ask on the Testing in Python list or on the
Simplistix open source mailing list...



Simplistix - Content Management, Batch Processing & Python Consulting
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TestFixtures 1.9.0 Released! Chris Withers Python 0 02-11-2011 04:07 PM
TestFixtures 1.8.0 Released! Chris Withers Python 0 01-14-2011 12:38 PM
TestFixtures 1.6.2 released! Chris Withers Python 0 09-23-2009 11:19 AM
TestFixtures 1.6.1 released! Chris Withers Python 0 09-06-2009 10:18 PM
TestFixtures 1.6.0 released! Chris Withers Python 0 06-18-2009 10:51 PM