Metadata-Version: 1.2
Name: pytest-azurepipelines
Version: 0.4.0
Summary: Formatting PyTest output for Azure Pipelines UI
Home-page: https://github.com/tonybaloney/pytest-azurepipelines
Author: Anthony Shaw
Author-email: anthonyshaw@apache.org
Maintainer: Anthony Shaw
Maintainer-email: anthonyshaw@apache.org
License: MIT
Description: =====================
        pytest-azurepipelines
        =====================
        
        .. image:: https://dev.azure.com/AnthonyShaw/pytest-azurepipelines/_apis/build/status/tonybaloney.pytest-azurepipelines?branchName=master
           :target: https://dev.azure.com/AnthonyShaw/pytest-azurepipelines/_build/latest?definitionId=3?branchName=master
           :alt: Build status
        
        .. image:: https://img.shields.io/pypi/v/pytest-azurepipelines.svg
            :target: https://pypi.org/project/pytest-azurepipelines
            :alt: PyPI version
        
        .. image:: https://img.shields.io/pypi/pyversions/pytest-azurepipelines.svg
            :target: https://pypi.org/project/pytest-azurepipelines
            :alt: Python versions
        
        Making Pytest easier to use with Microsoft Azure Pipelines.
        
        Just run pytest with this plugin and see your test results in the Azure Pipelines UI!
        
        ----
        
        Features:
        
        * Formats the PyTest output to show test docstrings and module names instead of just test case names in the Azure Pipelines UI.
        * Overloads the `--junit-xml` flag on execution with a default value
        * Uploads test results automatically, no need for a seperate test results upload command
        * Displays the number of failed tests if there were failures as an error message in the UI
        
        .. image:: https://github.com/tonybaloney/pytest-azurepipelines/raw/master/screenshot.png
            :width: 600px
            :align: center
        
        Installation
        ------------
        
        You can install "pytest-azurepipelines" via `pip`_ from `PyPI`_::
        
            $ pip install pytest-azurepipelines
        
        Usage
        -----
        
        This plugin requires no configuration.
        
        Here is an example of installing the plugin and running the tests.
        
        .. code-block:: yaml
        
          - script: |
              python -m pip install --upgrade pip
              pip install pytest pytest-azurepipelines
              pip install -e .
            displayName: 'Install dependencies'
        
          - script: |
              python -m pytest tests/
            displayName: 'pytest'
        
        If you want to change the Azure Pipelines "Test Run Title", you can provide the `--test-run-title` flag with the run title.
        
        .. code-block:: yaml
        
          - script: |
              pip install pytest pytest-azurepipelines
              pytest tests/ --test-run-title="Windows Test with junitxml"
            displayName: 'pytest with junitxml flag'
        
        Contributing
        ------------
        
        Contributions are very welcome. 
        
        License
        -------
        
        Distributed under the terms of the `MIT`_ license, "pytest-azurepipelines" is free and open source software
        
        
        Issues
        ------
        
        If you encounter any problems, please `file an issue`_ along with a detailed description.
        
        .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
        .. _`@hackebrot`: https://github.com/hackebrot
        .. _`MIT`: http://opensource.org/licenses/MIT
        .. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
        .. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
        .. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
        .. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
        .. _`file an issue`: https://github.com/tonybaloney/pytest-azurepipelines/issues
        .. _`pytest`: https://github.com/pytest-dev/pytest
        .. _`tox`: https://tox.readthedocs.io/en/latest/
        .. _`pip`: https://pypi.org/project/pip/
        .. _`PyPI`: https://pypi.org/project
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
