Skip to content

A library for property-based testing of Python programs. Please read the documentation to learn more: https://minigun.readthedocs.io/en/latest/

License

Notifications You must be signed in to change notification settings

soren-n/minigun-py

Repository files navigation

GitHub PyPI PyPI - Downloads Discord GitHub Sponsors Documentation Status

Minigun

A QuickCheck-like library for property-based unit-testing of Python programs.

Minigun is inspired by QCheck, which in turn was inspired by QuickCheck. Both are libraries that provide implementations for performing property-based unit-testing; for OCaml and Haskell respectively.

If you would like a bit of motivation as to why you should use a QuickCheck-like system for testing your project, then I would recommend that you watch:

If you wish to learn more about the subject, I can recommend Jan Midtgaard's lecture materials; it is OCaml based but translates easily to other QuickCheck-like libraries for other languages.

Install

Minigun is currently only supported for Python >=3.10. It is distributed with pip and can be installed with the following example command:

pip install minigun-soren-n

Documentation

A tutorial as well as reference documentation for the API can be found at Read The Docs.

Examples

The following projects use Minigun for testing:

If you have used Minigun for testing of a public project, and would like it added to the list, then please file an issue with a link to the project.

About

A library for property-based testing of Python programs. Please read the documentation to learn more: https://minigun.readthedocs.io/en/latest/

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages