Pytest plugin to convert test results into confluence page report to proceed with tests analysis.
It will combine unique fail assertion messages to failed testcases and convert those into confluence tables which is omitted in other plugins such as pytest-html.
β οΈ Note: the project is under construction.
pip install pytest-confluence-report
β¨ π° β¨Please make sure your settings.yml file is properly configured before execution.
pytest --junit-xml=pytest.xml --confluence-uploadgit clone git@github.com:vyahello/pytest-confluence-report.git
pip install -e .Or using direct release:
pip install git+https://github.com/vyahello/pytest-confluence-report@0.0.2git clone git@github.com:vyahello/pytest-confluence-report.git
python -m report --settings-path settings.yml --xml-path pytest.xmlIn order to enable plugin automatically within your pytest.ini configuration file, please set an appropriate flag:
[pytest]
addopts = --confluence-uploador a shorten version:
[pytest]
addopts = --cuGenerally, pytest tool is used to organize testing procedure.
Please follow next command to run unittests:
pytestIn addition, package unit tests are implemented with bats framework:
PACKAGE_NAMEandPACKAGE_VERSIONenvironment variables should be set to run tests.
bats --pretty test-package.batsProject has Travis CI integration using .travis.yml file thus code analysis (black, pylint, flake8, mypy, pydocstyle and interrogate) and unittests (pytest, bats) will be run automatically after every made change to the repository.
To be able to run code analysis, please execute command below:
./analyse-source-code.shPlease check changelog file to get more details about actual versions and it's release notes.
Author β Volodymyr Yahello. Please check authors file for more details.
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
I would highly appreciate any contribution and support. If you are interested to add your ideas into project please do the following simple steps:
- Clone the repository.
- Configure
gitfor the first time after cloning with yournameandemail. pip install -r requirements.txtto install all project dependencies.pip 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.
All recent activities and ideas are described at project issues page. If you have ideas you want to change/implement please do not hesitate and create an issue.

