Metadata-Version: 2.1
Name: hypothit
Version: 0.1.0
Summary: Command line interface for Hypothesis property based tests
Home-page: https://github.com/moreati/hypothit
Author: Alex Willmer
Author-email: alex@moreati.org.uk
License: MPL v2
Keywords: hypothesis testing property-based-testing
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Framework :: Hypothesis
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Natural Language :: English
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Requires-Dist: hypothesis

========
hypothit
========

|PyPI badge| |Docs badge| |CI badge|

Command line interface for Hypothesis property based tests

::

    $ hypothit trial --given "a=integers()" --assume 'a!=0' "assert a==42"
    from hypothesis import given, assume
    from hypothesis.strategies import integers


    @given(a=integers())
    def inner(a):
        assume(a!=0)
        assert a==42

    inner()

    Falsifying example: inner(a=1)
    Traceback (most recent call last):
    File ".../hypothit/cli.py", line 90, in trial
        exec(src, g)
    File "<string>", line 10, in <module>
    File "<string>", line 6, in inner
    File ".../hypothesis/core.py", line 1024, in wrapped_test
        raise the_error_hypothesis_found
    File "<string>", line 8, in inner
    AssertionError

* Free software: MPL v2
* Documentation: https://hypothit.readthedocs.io.

Credits
-------

This package was cut with Cookiecutter_, & `audreyr/cookiecutter-pypackage`_.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

.. |PyPI badge| image:: https://img.shields.io/pypi/v/hypothit.svg
        :target: https://pypi.python.org/pypi/hypothit

.. |CI badge| image:: https://img.shields.io/travis/moreati/hypothit.svg
        :target: https://travis-ci.org/moreati/hypothit

.. |Docs badge| image:: https://readthedocs.org/projects/hypothit/badge/?version=latest
        :target: https://hypothit.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status


=======
History
=======

0.1.0 (2019-05-01)
------------------

* First release on PyPI.


