Pytest emoji output
A pytest plugin that helps to reflect tests output with emoji.
Tools
Production
- python 3.7, 3.8, 3.9, 3.10
- pytest
Development
Installation
Please run following script to obtain latest package from PYPI:
pip install pytest-emoji-output
Then please execute command below:
pytest --emoji-out/--eo <your-tests-directory>
Source code
To be able to use plugin from the source code please execute commands below:
git clone git@github.com:vyahello/pytest-emoji-output.git
pip install -e .
Development notes
Configuration
In order to enable plugin automatically within your pytest.ini configuration file, please set an appropriate flag:
[pytest]
addopts = --emoji-out
or a shorten version:
[pytest]
addopts = --eo
Testing
Generally, pytest tool is used to organize testing procedure.
Please follow next command to run unittests:
pytest
In addition, package unit tests are implemented with bats framework:
PACKAGE_NAMEandPACKAGE_VERSIONenvironment variables should be set to run tests.
bats --pretty test-package.bats
CI
Project has Travis CI integration using .travis.yml file thus code analysis (black, pylint, flake8) and unittests (pytest) will be run automatically
after every made change to the repository.
To be able to run code analysis, please execute command below:
./analyse-code.sh
Release notes
Please check changelog file to get more details about actual versions and it's release notes.
Meta
Author – Volodymyr Yahello
Distributed under the MIT license. See LICENSE for more information.
You can reach out me at:
- vyahello@gmail.com
- https://twitter.com/vyahello
- https://www.linkedin.com/in/volodymyr-yahello-821746127
Contributing
I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps:
- Clone the repository
- Configure
gitfor the first time after cloning with yournameandemail pip install -r requirements.txtto install all project dependenciespip install -r requirements-dev.txtto install all development project dependencies- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
What's next
All recent activities and ideas are described at project issues. If you have ideas you want to change/implement please do not hesitate and create an issue.
Metadata
Release files for pytest-emoji-output 0.2.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 | |
|---|---|---|---|
| pytest-emoji-output-0.2.1.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_emoji_output-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / pytest-emoji-output-0.2.1.tar.gz
| Download URL | pytest-emoji-output-0.2.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4edece865d2697d095bff422ad0f98f170350caf4569454f3d3265013eaaf13
|
|
BLAKE2b-256 checksum How to use checksums |
252a2e49813d1cb95570edfd19ead1537e38f21d03c01e7f8b6603b8b6ad33fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.11
|
Release files / pytest_emoji_output-0.2.1-py3-none-any.whl
| Download URL | pytest_emoji_output-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49e7e8d5a83ea95001fb6dd112caeec4f20257620c23fb3fbf2af757be038301
|
|
BLAKE2b-256 checksum How to use checksums |
710ccbbe92f48ac36e65871db40dfcb1f0927c9deb506c56cf7987ba271ff26f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.11
|