pytest-qr

pytest plugin to generate test result QR codes

MIT License

Downloads
21
Stars
1
Committers
2

=========
pytest-qr

.. image:: https://img.shields.io/pypi/v/pytest-qr.svg :target: https://pypi.org/project/pytest-qr :alt: PyPI version

.. image:: https://img.shields.io/pypi/pyversions/pytest-qr.svg :target: https://pypi.org/project/pytest-qr :alt: Python versions

pytest plugin to generate test result QR codes


Features

  • prints a QR code :)

Requirements

  • qrcode

Installation

You can install "pytest-qr" via pip_ from PyPI_::

$ pip install pytest-qr

Usage

Run py.test with --qr::

$ py.test --qr
    █▀▀▀▀▀█ █ █ ▀▄█ ██▄▀▄ █▀▀▀▀▀█    
    █ ███ █ ▄ ▀█▄█▄▄ ▄█▀▀ █ ███ █    
    █ ▀▀▀ █  █ ▀▄   █▀▀█▄ █ ▀▀▀ █    
    ▀▀▀▀▀▀▀ █ █ ▀ █ ▀▄▀ ▀ ▀▀▀▀▀▀▀    
    ▀ ██▄█▀█▄ █▀█▄▀ ▀▀▄█▄▄█▄▄█ █▀    
    ▄ ██▄▀▀▀█▀ █▀█▄ ▄▀ ▄█▀▄▄ ▄▀█     
    ██▄▀█ ▀ ██▄█▀▀▀█▀▄▄█ █▄   █ ▀    
    ▄▄▄▄▄▀▀▄██ ▀   ▄▄▀ ▀▀▀ ▀█▀ ▀█    
      ▄█ █▀  ▄▀▄█▀███▄▀▀█▄ ▄▀ ▄▀█    
    ▀  ██ ▀ █▄▄▄█ ▀▀▄██ ██▄█ ▀▄▄▄    
     ▀   ▀▀ ▄▄█ █ ▄ ███▀█▀▀▀█▀▀█▀    
    █▀▀▀▀▀█ █ ▀▀ ▄▀ ▀▀▄▀█ ▀ █ ▀▀     
    █ ███ █ ▄ ██▄▄▄█▄█▄ ▀▀▀▀█▀▄▀█    
    █ ▀▀▀ █ ▀▀▄█▄▀█▄▀ ▄  ▄ █▄█ ▄▀    
    ▀▀▀▀▀▀▀ ▀▀▀ ▀▀  ▀ ▀▀▀  ▀   ▀     

Contributing

Contributions are very welcome. Tests can be run with tox_, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT_ license, "pytest-qr" is free and open source software

Issues

If you encounter any problems, please file an issue_ along with a detailed description.

.. _MIT: http://opensource.org/licenses/MIT .. _file an issue: https://github.com/evgeni/pytest-qr/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