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 fountains
Testing and Conventions
Unit tests can be executed using doctest:
python fountains/fountains.py -v
Style conventions are enforced using Pylint:
pylint fountains
Contributions
In order to contribute to the source code, open an issue or submit a pull request on the GitHub page for this library.
Versioning
Beginning with version 0.2.0, the version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.
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
Built Distribution
Hashes for fountains-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b3754d211f1c84794f4d18f94bd465ed947a0272cc39406e156f7ab2f31704 |
|
MD5 | 94d9ce700af5319a3143f3a69dc1e027 |
|
BLAKE2b-256 | 6d6c4944fb585c1ff0ea1c7824789fead4e01b67d83e6ee269ea0f29930b5d80 |