pytest-emoji

0.2.0 ยท active ยท verified Thu Apr 16

pytest-emoji is a pytest plugin that enhances your test result reports by replacing standard indicators with expressive emojis. It offers clear visual feedback for passed, failed, skipped, xfailed, xpassed, and error states, making test output more engaging and easier to parse at a glance. The plugin is currently at version 0.2.0 and maintains a steady cadence as part of the pytest ecosystem.

Common errors

Warnings

Install

Quickstart

Install the plugin, then simply run `pytest` with the `--emoji` flag to enable the emoji reporting. The plugin integrates seamlessly, replacing standard test indicators with emojis for both normal and verbose output modes.

# my_test_file.py
def test_pass():
    assert True

def test_fail():
    assert False

# Run from your terminal:
# pytest --emoji my_test_file.py
# You should see:
# my_test_file.py ๐Ÿ˜ƒ ๐Ÿ˜ฐ

view raw JSON โ†’