Python library for generating and embedding in a compactway random but reproducible data for unit testing.
Project description
Python library for generating and embedding in a compact way random but reproducible data for unit testing.
Purpose
This library makes it possible to generate random test data in a reproducible way. It also makes it possible to include very concise (i.e., one-line) test definitions that nevertheless test a function on a large number of inputs.
Package Installation and Usage
The package is available on PyPI:
python -m pip install fountains
The library can be imported in the usual ways:
import fountains from fountains import *
Unit tests can be executed using doctest:
python fountains/fountains.py -v
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fountains-0.1.0.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for fountains-0.1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f444415f4edcdfd1fedde9b4b64b0df190353b6d88169e8f5a711088900647 |
|
MD5 | 822276c0291913968e254df162270edb |
|
BLAKE2b-256 | 93583c509a15fa6b1201d800b508e2d4aeec3a38353397c265ed5b0f53f9577e |