Metadata-Version: 2.1
Name: pytest-expecter
Version: 2.2
Summary: Better testing with expecter and pytest.
Home-page: UNKNOWN
Author: Jace Browning
Author-email: jacebrowning@gmail.com
License: BSD
Project-URL: documentation, https://pytest-expecter.readthedocs.io
Project-URL: homepage, https://pypi.org/project/pytest-expecter
Project-URL: repository, https://github.com/jacebrowning/pytest-expecter
Description: 
        Overview
        ========
        
        A ``pytest`` plugin based on `garybernhardt/expecter <https://github.com/garybernhardt/expecter>`_ that hides the internal stacktrace.
        
        
        .. image:: https://img.shields.io/travis/jacebrowning/pytest-expecter/develop.svg?label=unix
           :target: https://travis-ci.org/jacebrowning/pytest-expecter
           :alt: Build Status
        
        
        .. image:: https://img.shields.io/coveralls/jacebrowning/pytest-expecter/develop.svg
           :target: https://coveralls.io/r/jacebrowning/pytest-expecter
           :alt: Coverage Status
        
        
        .. image:: https://img.shields.io/pypi/v/pytest-expecter.svg
           :target: https://pypi.org/project/pytest-expecter
           :alt: PyPI Version
        
        
        .. image:: https://img.shields.io/pypi/l/pytest-expecter.svg
           :target: https://pypi.org/project/pytest-expecter
           :alt: PyPI License
        
        
        Quick Start
        ===========
        
        This lets you write tests (optionally using `pytest-describe <https://github.com/pytest-dev/pytest-describe>`_\ ) like this:
        
        .. code-block:: python
        
           def describe_foobar():
        
               def it_can_pass(expect):
                   expect(2 + 3) == 5
        
               def it_can_fail(expect):
                   expect(2 + 3) == 6
        
        and get output like this:
        
        .. code-block:: text
        
           ============================= FAILURES =============================
           ___________________ describe_foobar.it_can_fail ____________________
        
               def it_can_fail(expect):
           >       expect(2 + 3) == 6
           E       AssertionError: Expected 6 but got 5
        
           test_foobar.py:7: AssertionError
           ================ 1 failed, 1 passed in 2.67 seconds ================
        
        Installation
        ============
        
        Install it directly into an activated virtual environment:
        
        .. code-block::
        
           $ pip install pytest-expecter
        
        or add it to your `Poetry <https://poetry.eustace.io/>`_ project:
        
        .. code-block::
        
           $ poetry add pytest-expecter
        
Keywords: pytest testing
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Testing
Requires-Python: ==3.*,>=3.6.0
Provides-Extra: dev
