pytest-pumpkin-spice
Fall in the Canada and the US comes once a year, and you know what that means: Autumn colours, cooler temperatures and, of course, pumpkin spice.
Here's is a small pytest plugin to give your tests some pumpkin spice ☕.
This project was heavily inspired by pytest-yuk and pytest-emoji, developed by Brian Okken and Raphael Pierzina, respectively.
Installation
pytest-pumpkin-spice is available for Python 3. 🐍
You can install pytest-pumpkin-spice via pip from PyPI:
$ pip install pytest-pumpkin-spice
This will automatically install pytest of version 4.2.1 or higher.
Features
This plugin adds a --pumpkin-spice CLI flag to pytest, which replaces the standard test result outputs with a warm blend of pumpkin-spiced emoji, both for normal and verbose mode.
🎃 / PASSED 🎃for a passing test with a happy smile,❄️ / FAILED ❄️for a failed test with wintery reminder,🍂 / XFAIL 🍂for a xfailed test with some fallen leaves,🍠 / XPASS 🍠for a xpass with a sweet potato (almost pumpkin!),☕ / SKIPPED ☕for a skipped test with a pumpkin spiced hot bevarage, and🥧 / ERROR 🥧for an error with a nice big pumpkin pie.
Normal mode with just a sprinkle of pumpkin spice blend:
$ pytest --pumpkin-spice
tests/test_emoji.py 🎃❄️🍂🍠☕🥧
Verbose mode with some extra warmth and spice:
$ pytest --verbose --pumpkin-spice
test_passed PASSED 🎃 ",
test_failed FAILED ❄️ ",
test_xfailed XFAIL 🍂 ",
test_xpassed XPASS 🍠 ",
test_skipped SKIPPED ☕ ",
test_error ERROR 🥧 *",
License
Distributed under the terms of the MIT license, pytest-pumpkin-spice is free and open source software
Metadata
Release files for pytest-pumpkin-spice 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pytest-pumpkin-spice-0.1.0.tar.gz | 5.5 kB | Without provenance | Details |
Release files / pytest-pumpkin-spice-0.1.0.tar.gz
| Download URL | pytest-pumpkin-spice-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4444008ff71141871f8b4252d3396e86e06df72f5309767a8a93f30afb7d9d9f
|
|
BLAKE2b-256 checksum How to use checksums |
f5c193b69ee71a4760b09415adbef455935cfd3686fd4665ae94b55a093adcf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for pytest-pumpkin-spice 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.