pytest-qr

pytest plugin to generate test result QR codes


License
MIT
Install
pip install pytest-qr==0.1.0

Documentation

pytest-qr

PyPI version 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.