
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
pytest-pumpkin-spice
Advanced tools
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.
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.
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 🥧 *",
Distributed under the terms of the MIT license, pytest-pumpkin-spice is free and open source software
FAQs
A pytest plugin that makes your test reporting pumpkin-spiced
We found that pytest-pumpkin-spice demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.