A pytest plugin that adds a `blue` fixture for printing stuff in blue.
Project description
pytest-blue
A pytest plugin that one fixture:
- blue
This fixtures can be used to print
a string in blue.
It will also report the test file and function.
And it works even when pytest is capturing output.
Example test_example.py:
def test_blue(blue):
blue('should be blue')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-blue-0.0.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file pytest-blue-0.0.1.tar.gz
.
File metadata
- Download URL: pytest-blue-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a386ee41ec89a7c66a5b7cda7903eef471bc55c9059098023b20068678b9d476 |
|
MD5 | a94e72301f8b0d5058dbf51da49e05c4 |
|
BLAKE2b-256 | 113b7a7a35ffd8b1fa99e4fa835f681c0b05e55280ece9823b595be94d20fe10 |
File details
Details for the file pytest_blue-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pytest_blue-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d939e8b203ffc6a265e88c9e934f8f721c9eeeb78934757909e5fe9d831a39 |
|
MD5 | 67b752b4321aef3dbf727494c96cbe81 |
|
BLAKE2b-256 | 6273f7e72fed824bdd8909beffc4ac9cc6e44eeb2d22b76d50a0c429b0703be0 |