pytest-porcochu
Like pytest-pikachu but it's a pikachuified pig.
pytest-porcochu prints ascii art of Surprised Porco when all tests pass.
Installation
$ pip install pytest-porcochu
Usage
Pass the --porcochu option to pytest as a command line flag or configuration
file option to get these stunning effects.
$ pytest --porcochu
============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /home/.../pytest-porcochu, configfile: tox.ini, testpaths: tests
plugins: porcochu-0.1.0
collected 4 items
tests/test_plugin.py .... [100%]
============================== 4 passed in 0.11s ===============================
)\ /|
.-/'-|_/ |
__ __,-' ( / \/
.-'" "'-..__,-'"" -o.`-._
/ '/
*--._ ./ _.--
| _.-'
: .-/
\ )_ /
\ _) / \(
`. /-.___.---'( / \\
( / \\ \( L\
\( L\ \\
\\ \\
L\ L\
Prior art
I wrote this pytest plugin after seeing this Reddit thread. I used the
answer in this Stack Overflow question on how to pass information between
different pytest hooks.
License
Distributed under the terms of the MIT license, pytest-porcochu is free and
open source software.
Metadata
Release files for pytest-porcochu 1.1.1
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_porcochu-1.1.1.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_porcochu-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / pytest_porcochu-1.1.1.tar.gz
| Download URL | pytest_porcochu-1.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caed46b40e27c7a8cca7bdf30e21e83c71c7bc3570fc5cc8797fbf77872378e2
|
|
BLAKE2b-256 checksum How to use checksums |
8e894ae88610da5ea739ec9f0eea888dd524fbe51908eec9754420a073e65423
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pytest_porcochu-1.1.1-py3-none-any.whl
| Download URL | pytest_porcochu-1.1.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
638a832c36841041a7843315d57a17c2d1152bce1cbd8d6c1de7dd00f0e68c71
|
|
BLAKE2b-256 checksum How to use checksums |
919327493aaadcfa3d2b72584b9bc85938168590d208c69611140bea83835a76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Security for pytest-porcochu 1.1.1
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.