Pytest plugin to represent test output with emoji support
Project description
Pytest emoji output
A pytest plugin that helps to reflect tests output with emoji.
Tools
Production
- python 3.6, 3.7, 3.8, 3.9
- pytest
Development
Usage
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_NAME
andPACKAGE_VERSION
environment 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
git
for the first time after cloning with yourname
andemail
pip install -r requirements.txt
to install all project dependenciespip install -r requirements-dev.txt
to 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.
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
Built Distributions
Hashes for pytest-emoji-output-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a2be52dff1821db24022b97982c081b93827eae2ac387958d00d7a7fbebe36 |
|
MD5 | eaf811b8e8b0b8e6a347347c2585017b |
|
BLAKE2b-256 | f0be95aacdf27ea03e830e672a55bd80e7ad7c736c1d1777581ac3b70ff6a74e |
Hashes for pytest_emoji_output-0.2.0-py3.10.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55705b9246ae2f54e5ead75c641c427374b56c4b8876583df0da95736b3f955c |
|
MD5 | 884827e0f1c13ad02c6835e2319f0996 |
|
BLAKE2b-256 | 0bec148e70df0f6b41df60e72b5667f9bcd05c0225fea3b6861f87e4591d6094 |
Hashes for pytest_emoji_output-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e18783693e7aa69801b8ed12a9012986615dfc2c7dc71858b5f12e97166d4f80 |
|
MD5 | 7aca77c24bb4a513dd8929562ce3f6c9 |
|
BLAKE2b-256 | 04713d500de4a8d8481cd81a586c17f45b880e4a17ffb40081f82705e0d9bc06 |