pytest-pikachu is a pytest plugin that displays a surprised Pikachu in the terminal when all tests pass successfully. It aims to add a touch of fun to the testing experience without affecting test logic. The current version is 1.0.0, and it is a stable, low-maintenance plugin that relies on pytest's plugin discovery mechanism.
pip install pytest-pikachu pytestVerified import paths — ran on the pinned version, not inferred.
Install the `pytest-pikachu` plugin along with `pytest`. Create a test file with only passing tests. When `pytest` is run on this file, if all tests complete successfully, a surprised Pikachu will be displayed in the terminal output.
Ensure your entire test suite passes to see the Pikachu animation. Use `pytest -v` to inspect individual test outcomes.
Understand that the plugin's behavior is fixed. If you require customizable test feedback or integrations, consider other pytest plugins that offer such features.