Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47569

testfixtures 3.0.1 Released!

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <chris@simplistix.co.uk>
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; 'broken': 0.04; 'parameters': 0.04; 'static': 0.04; 'output': 0.05; 'list...': 0.07; 'pypi': 0.07; 'tests.': 0.07; 'from:addr:simplistix.co.uk': 0.09; 'from:name:chris withers': 0.09; 'message- id:@simplistix.co.uk': 0.09; 'objects,': 0.09; 'output,': 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; 'url:software': 0.09; 'python': 0.11; 'bug': 0.12; 'already,': 0.16; 'cleans': 0.16; 'comparison.': 0.16; 'effect.': 0.16; 'generator.': 0.16; 'helpers': 0.16; 'raised,': 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; 'exception': 0.16; 'fix': 0.17; 'all,': 0.19; 'normally': 0.19; 'tests': 0.22; 'print': 0.22; 'creating': 0.23; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'comparing': 0.24; 'from:addr:chris': 0.24; 'cheers,': 0.24; "haven't": 0.24; 'source': 0.25; 'logging': 0.26; 'certain': 0.27; 'testing': 0.29; 'fixed': 0.29; 'chris': 0.29; 'to:no real name:2**1': 0.29; 'along': 0.30; "i'm": 0.30; 'changes:': 0.31; 'comparison': 0.31; 'doc': 0.31; 'exceptions': 0.31; 'raised': 0.31; 'open': 0.33; 'url:python': 0.33; 'announce': 0.33; 'checking': 0.33; 'classes': 0.35; 'objects': 0.35; 'dates': 0.36; 'unit': 0.37; 'list': 0.37; 'expected': 0.38; 'feedback': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'release': 0.40; 'ensure': 0.60; 'even': 0.60; 'easy': 0.60; 'full': 0.61; 'here:': 0.62; 'making': 0.63; 'such': 0.63; 'skip:n 10': 0.64; 'for:': 0.64; 'to:2**2': 0.65; 'url:co': 0.67; 'results': 0.69; 'special': 0.74; 'received:89': 0.85
Date Mon, 10 Jun 2013 16:11:19 +0100
From Chris Withers <chris@simplistix.co.uk>
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 <python-list@python.org>, simplistix@googlegroups.com
Subject testfixtures 3.0.1 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.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2971.1370877075.3114.python-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370877075 news.xs4all.nl 15883 [2001:888:2000:d::a6]:48452
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47569

Show key headers only | View raw


Hi All,

I'm pleased to announce the release of testfixtures 3.0.1. This is a bug 
fix release featuring the following changes:

- Some documentation tweaks and clarifications.

- Fixed a bug which masked exceptions when using compare() with a broken 
generator.

- Fixed a bug when comparing a generator with a non-generator.

- Ensure LogCapture cleans up global state it may effect.

- Fixed replacement of static methods using a Replacer.

If you haven't bumped into it already, 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.

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

testfixtures 3.0.1 Released! Chris Withers <chris@simplistix.co.uk> - 2013-06-10 16:11 +0100

csiph-web