Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A module for easily creating more realistic test data

Project description

NonMockObjects aims to make it easy to create complicated structures representing more realistic test data, thus allowing you to write tests against your real code, not mock objects. This allows you to write high-level integration tests almost as easily as small-scale unit tests, once you build up your library of creation functions.

How to tell if you need this module: You want to run automated tests on your code, but you have a relatively complicated data model, perhaps a nicely normalized database. The bulk of your tests consist of setting up this relatively complicated data model, and the tests all break whenever you change your model. Constructing the data has become so difficult (and breaks so often) that you’ve just stopped testing entirely.

(0.2.1 is a minor documentation update.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
NonMockObjects-0.2.1.tar.gz (53.8 kB) Copy SHA256 hash SHA256 Source None Mar 1, 2007
NonMockObjects-0.2.1.zip (87.9 kB) Copy SHA256 hash SHA256 Source None Mar 1, 2007

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page