Skip to main content

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.

Source Distributions

NonMockObjects-0.2.1.zip (87.9 kB view details)

Uploaded Source

NonMockObjects-0.2.1.tar.gz (53.8 kB view details)

Uploaded Source

File details

Details for the file NonMockObjects-0.2.1.zip.

File metadata

  • Download URL: NonMockObjects-0.2.1.zip
  • Upload date:
  • Size: 87.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for NonMockObjects-0.2.1.zip
Algorithm Hash digest
SHA256 7fcb48245127d4de8ccbb1037fb0c2d16308918ef3fc1a76e972465b2de32440
MD5 9569d8ba60e9476c781f2fff0f3a4570
BLAKE2b-256 fc089d50c984890975c0cebdfd47b14681b3c94a14bec41dcefa08bdedf58f6e

See more details on using hashes here.

File details

Details for the file NonMockObjects-0.2.1.tar.gz.

File metadata

File hashes

Hashes for NonMockObjects-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5161c944307caeb47ca54e175e4569cfa3f637afdc35be89cbb40fe0e4cdf8cb
MD5 a3979a4a552fe721d75a86b3ed0e620c
BLAKE2b-256 08973ad90f726499833ae4fdf5d1774d1b87272e7432e2b739c0590c4d8ce369

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page