Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'exception': 0.03; 'output': 0.04; 'fixes': 0.05; 'objects,': 0.07; 'pypi': 0.07; 'raised': 0.07; 'python': 0.09; '(it': 0.09; 'correct,': 0.09; 'from:addr:simplistix.co.uk': 0.09; 'from:name:chris withers': 0.09; 'list...': 0.09; 'message-id:@simplistix.co.uk': 0.09; 'output,': 0.09; 'raised,': 0.09; 'received:89.151': 0.09; 'received:89.151.125': 0.09; 'received:89.151.125.140': 0.09; 'received:server1.simplistix.co.uk': 0.09; 'received:simplistix.co.uk': 0.09; 'bug': 0.10; 'comparison.': 0.16; 'helpers': 0.16; 'partly': 0.16; 'received:buzzkill.local': 0.16; 'simplistix': 0.16; 'statements,': 0.16; 'succinct': 0.16; 'to:name:python list': 0.16; 'url:simplistix': 0.16; 'comparing': 0.17; 'tests.': 0.17; 'tests': 0.18; 'parameters': 0.20; 'all,': 0.21; 'meant': 0.21; 'doc': 0.22; 'exceptions': 0.22; 'from:addr:chris': 0.22; 'cheers,': 0.23; 'testing': 0.24; 'header :User-Agent:1': 0.26; 'creating': 0.26; 'checking': 0.27; 'logging': 0.27; 'chris': 0.28; 'comparison': 0.29; 'dictionary': 0.29; 'url:software': 0.29; 'objects': 0.29; 'source': 0.29; "i'm": 0.29; 'classes': 0.30; 'normally': 0.30; 'feedback': 0.30; 'url:python': 0.32; 'to:no real name:2**1': 0.32; 'print': 0.32; 'certain': 0.33; "aren't": 0.33; 'dates': 0.33; 'to:addr:python- list': 0.33; 'times.': 0.33; 'list': 0.35; 'along': 0.35; 'open': 0.35; 'expected': 0.35; 'announce': 0.36; "didn't": 0.36; 'unit': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'help': 0.40; 'easy': 0.60; 'here:': 0.62; 'to:2**2': 0.62; 'for:': 0.64; 'making': 0.64; 'results': 0.65; 'url:co': 0.66; 'pleased': 0.66; 'special': 0.73; 'received:89': 0.86; 'received:86': 0.93 Date: Mon, 13 Aug 2012 09:26:24 +0100 From: Chris Withers User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: testing-in-python@lists.idyll.org, Python List , simplistix@googlegroups.com Subject: testfixtures 2.3.5 Released! Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 55 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1344846391 news.xs4all.nl 6900 [2001:888:2000:d::a6]:38802 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26971 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: http://www.simplistix.co.uk/software/python/testfixtures Any questions, please do ask on the Testing in Python list or on the Simplistix open source mailing list... cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk