Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install testfixtures

How to install testfixtures

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install testfixtures
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.3.4
3.0.1Never BuiltWhy not?
2.3.4 Available View build log
2.3.3 Available View build log
2.3.1 Available View build log
2.3.0 Available View build log
2.2.0 Available View build log
2.1.0 Available View build log
2.0.1 Available View build log
1.12.0 Available View build log
1.11.3 Available View build log
1.11.2 Available View build log
1.11.0 Failed View build log
1.10.0 Failed View build log
1.9.2 Available View build log
1.9.1 Available View build log
1.9.0 Available View build log
1.8.0 Available View build log
1.8.0dev-r4464 Available View build log
1.7.0 Available View build log
Windows (64-bit)
2.3.4
3.0.1Never BuiltWhy not?
2.3.4 Available View build log
2.3.3 Available View build log
2.3.1 Available View build log
2.3.0 Available View build log
2.2.0 Available View build log
2.1.0 Available View build log
2.0.1 Available View build log
1.12.0 Available View build log
1.11.3 Available View build log
1.11.2 Available View build log
1.11.0 Failed View build log
1.10.0 Failed View build log
1.9.2 Available View build log
1.9.1 Available View build log
1.9.0 Available View build log
1.8.0 Available View build log
1.8.0dev-r4464 Available View build log
1.7.0 Available View build log
Mac OS X (10.5+)
2.3.4
3.0.1Never BuiltWhy not?
2.3.4 Available View build log
2.3.3 Available View build log
2.3.1 Available View build log
2.3.0 Available View build log
2.2.0 Available View build log
2.1.0 Available View build log
2.0.1 Available View build log
1.12.0 Available View build log
1.11.3 Available View build log
1.11.2 Available View build log
1.11.0 Failed View build log
1.10.0 Failed View build log
1.9.2 Available View build log
1.9.1 Available View build log
1.9.0 Available View build log
1.8.0 Available View build log
1.8.0dev-r4464 Available View build log
1.7.0 Available View build log
Linux (32-bit)
2.3.4
3.0.1Never BuiltWhy not?
2.3.4 Available View build log
2.3.3 Available View build log
2.3.1 Available View build log
2.3.0 Available View build log
2.2.0 Available View build log
2.1.0 Available View build log
2.0.1 Available View build log
1.12.0 Available View build log
1.11.3 Available View build log
1.11.2 Available View build log
1.11.0 Failed View build log
1.10.0 Failed View build log
1.9.2 Available View build log
1.9.1 Available View build log
1.9.0 Available View build log
1.8.0 Available View build log
1.8.0dev-r4464 Available View build log
1.7.0 Available View build log
Linux (64-bit)
3.0.1 Available View build log
2.3.4 Available View build log
2.3.3 Available View build log
2.3.1 Available View build log
2.3.0 Available View build log
2.2.0 Available View build log
2.1.0 Available View build log
2.0.1 Available View build log
1.12.0 Available View build log
1.11.3 Available View build log
1.11.2 Available View build log
1.11.0 Failed View build log
1.10.0 Failed View build log
1.9.2 Available View build log
1.9.1 Available View build log
1.9.0 Available View build log
1.8.0 Available View build log
1.8.0dev-r4464 Available View build log
1.7.0 Available View build log
 
Author
License
MIT
Dependencies
Lastest release
version 3.0.1 on Aug 24th, 2013

TestFixtures is a collection of helpers and mock objects that are useful when writing unit tests or doc tests.

If you're wondering why "yet another mock object library", testing is often described as an art form and as such some styles of library will suite some people while others will suite other styles. This library contains common test fixtures the author found himself repeating from package to packages and so decided to extract them into their own library and give them some tests of their own!

The areas of testing this package can help with are listed below:

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.

Subscribe to package updates

Last updated Aug 24th, 2013

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.