A pytest plugin that adds emojis to your test result report
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install pytest-emojipytest-emoji
A pytest plugin that adds emojis to your test result report 😍
pytest
pytest is a mature testing framework for Python that is developed by a thriving community of volunteers. It uses plain assert statements and regular Python comparisons. Writing tests with pytest requires little to no boilerplate code and powerful features allow easy parametrization and intelligent test selection.
There are hundreds of plugins available for pytest with which you can extend and customize your testing harness. Distributed under the terms of the MIT license, pytest is free and open source software.
Check out pytest if you haven't already and if you're not sold just yet, install this plugin. Maybe that will get you motivated to write more tests! 😁
This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template. 🍪
Installation
pytest-emoji is available for Python 3. 🐍
You can install pytest-emoji via pip from PyPI:
$ pip install pytest-emoji
This will automatically install pytest of version 4.2.1 or higher.
Features
This plugin adds a --emoji CLI flag to pytest, which replaces the test
result indicator to emojis, both for normal and verbose mode.
😃 / PASSED 😃for passed tests😰 / FAILED 😰for failed tests😞 / XFAIL 😞for xfailed tests😲 / XPASS 😲for xpassed tests🙄 / SKIPPED 🙄for skipped tests😡 / ERROR 😡for tests with errors
Normal mode:
$ pytest --emoji
tests/test_emoji.py 😃 😰 😞 😲 🙄 😡
Verbose mode:
$ pytest --verbose --emoji