Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-31T20:44:09.000Z (over 4 years ago)
- Last Synced: 2024-10-11T21:55:11.231Z (4 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: 3
- Watchers: 3
- Forks: 2
- 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*
[![Python versions](https://img.shields.io/pypi/pyversions/pytest-pilot.svg)](https://pypi.python.org/pypi/pytest-pilot/) [![Build Status](https://travis-ci.org/smarie/python-pytest-pilot.svg?branch=master)](https://travis-ci.org/smarie/python-pytest-pilot) [![Tests Status](https://smarie.github.io/python-pytest-pilot/junit/junit-badge.svg?dummy=8484744)](https://smarie.github.io/python-pytest-pilot/junit/report.html) [![codecov](https://codecov.io/gh/smarie/python-pytest-pilot/branch/master/graph/badge.svg)](https://codecov.io/gh/smarie/python-pytest-pilot)
[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://smarie.github.io/python-pytest-pilot/) [![PyPI](https://img.shields.io/pypi/v/pytest-pilot.svg)](https://pypi.python.org/pypi/pytest-pilot/) [![Downloads](https://pepy.tech/badge/pytest-pilot)](https://pepy.tech/project/pytest-pilot) [![Downloads per week](https://pepy.tech/badge/pytest-pilot/week)](https://pepy.tech/project/pytest-pilot) [![GitHub stars](https://img.shields.io/github/stars/smarie/python-pytest-pilot.svg)](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/*
```