https://github.com/smarie/python-pytest-pilot
Slice in your test base thanks to powerful markers
https://github.com/smarie/python-pytest-pilot
command filter mark marker option pytest python query slice test
Last synced: 3 months ago
JSON representation
Slice in your test base thanks to powerful markers
- Host: GitHub
- URL: https://github.com/smarie/python-pytest-pilot
- Owner: smarie
- License: bsd-3-clause
- Created: 2019-08-07T08:44:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-31T20:44:09.000Z (over 4 years ago)
- Last Synced: 2025-03-15T18:51:11.100Z (3 months ago)
- Topics: command, filter, mark, marker, option, pytest, python, query, slice, test
- Language: Python
- Homepage: https://smarie.github.io/python-pytest-pilot/
- Size: 1.87 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-pytest-pilot
*Slice in your test base thanks to powerful markers*
[](https://pypi.python.org/pypi/pytest-pilot/) [](https://travis-ci.org/smarie/python-pytest-pilot) [](https://smarie.github.io/python-pytest-pilot/junit/report.html) [](https://codecov.io/gh/smarie/python-pytest-pilot)
[](https://smarie.github.io/python-pytest-pilot/) [](https://pypi.python.org/pypi/pytest-pilot/) [](https://pepy.tech/project/pytest-pilot) [](https://pepy.tech/project/pytest-pilot) [](https://github.com/smarie/python-pytest-pilot/stargazers)
**This is the readme for developers.** The documentation for users is available here: [https://smarie.github.io/python-pytest-pilot/](https://smarie.github.io/python-pytest-pilot/)
## Want to contribute ?
Contributions are welcome ! Simply fork this project on github, commit your contributions, and create pull requests.
Here is a non-exhaustive list of interesting open topics: [https://github.com/smarie/python-pytest-pilot/issues](https://github.com/smarie/python-pytest-pilot/issues)
## Requirements for builds
Install requirements for setup beforehand using
```bash
pip install -r ci_tools/requirements-pip.txt
```## Running the tests
This project uses `pytest`.
```bash
pytest -v pytest_pilot/tests/
```## Packaging
This project uses `setuptools_scm` to synchronise the version number. Therefore the following command should be used for development snapshots as well as official releases:
```bash
python setup.py egg_info bdist_wheel rotate -m.whl -k3
```## Generating the documentation page
This project uses `mkdocs` to generate its documentation page. Therefore building a local copy of the doc page may be done using:
```bash
mkdocs build -f docs/mkdocs.yml
```## Generating the test reports
The following commands generate the html test report and the associated badge.
```bash
pytest --junitxml=junit.xml -v pytest_pilot/tests/
ant -f ci_tools/generate-junit-html.xml
python ci_tools/generate-junit-badge.py
```### PyPI Releasing memo
This project is now automatically deployed to PyPI when a tag is created. Anyway, for manual deployment we can use:
```bash
twine upload dist/* -r pypitest
twine upload dist/*
```