All Projects → smarie → Python Pytest Cases

smarie / Python Pytest Cases

Licence: bsd-3-clause
Separate test code from test cases in pytest.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Python Pytest Cases

Pytest Patterns
A couple of examples showing how pytest and its plugins can be combined to solve real-world needs.
Stars: ✭ 24 (-81.1%)
Mutual labels:  data, test, pytest, file
Faker
Faker is a pure Elixir library for generating fake data.
Stars: ✭ 673 (+429.92%)
Mutual labels:  data, test
Awesome Twitter Data
A list of Twitter datasets and related resources.
Stars: ✭ 533 (+319.69%)
Mutual labels:  dataset, data
Legislator
Interface to the Comparative Legislators Database
Stars: ✭ 62 (-51.18%)
Mutual labels:  dataset, data
Datascience course
Curso de Data Science em Português
Stars: ✭ 294 (+131.5%)
Mutual labels:  dataset, data
Browser Compat Data
This repository contains compatibility data for Web technologies as displayed on MDN
Stars: ✭ 3,710 (+2821.26%)
Mutual labels:  dataset, data
Jaymock
Minimal fake JSON test data generator.
Stars: ✭ 28 (-77.95%)
Mutual labels:  data, test
emacs-python-pytest
run pytest inside emacs
Stars: ✭ 105 (-17.32%)
Mutual labels:  test, pytest
Pytest Spec
Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.
Stars: ✭ 65 (-48.82%)
Mutual labels:  test, pytest
Covid19
JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily
Stars: ✭ 1,177 (+826.77%)
Mutual labels:  dataset, data
Dbg Pds
Deutsche Boerse's Financial Trading Public Data Set
Stars: ✭ 124 (-2.36%)
Mutual labels:  dataset, data
Data Science Hacks
Data Science Hacks consists of tips, tricks to help you become a better data scientist. Data science hacks are for all - beginner to advanced. Data science hacks consist of python, jupyter notebook, pandas hacks and so on.
Stars: ✭ 273 (+114.96%)
Mutual labels:  dataset, data
Datagear
数据可视化分析平台,使用Java语言开发,采用浏览器/服务器架构,支持SQL、CSV、Excel、HTTP接口、JSON等多种数据源
Stars: ✭ 266 (+109.45%)
Mutual labels:  dataset, data
Voice datasets
🔊 A comprehensive list of open-source datasets for voice and sound computing (50+ datasets).
Stars: ✭ 494 (+288.98%)
Mutual labels:  dataset, data
Jschema
A simple, easy to use data modeling framework for JavaScript
Stars: ✭ 261 (+105.51%)
Mutual labels:  dataset, data
Iso 3166 Countries With Regional Codes
ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets
Stars: ✭ 1,372 (+980.31%)
Mutual labels:  dataset, data
Datasets
TFDS is a collection of datasets ready to use with TensorFlow, Jax, ...
Stars: ✭ 3,094 (+2336.22%)
Mutual labels:  dataset, data
python-pytest-harvest
Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
Stars: ✭ 44 (-65.35%)
Mutual labels:  test, pytest
Colour
Colour Science for Python
Stars: ✭ 1,131 (+790.55%)
Mutual labels:  dataset, data
Ml Pyxis
Tool for reading and writing datasets of tensors in a Lightning Memory-Mapped Database (LMDB). Designed to manage machine learning datasets with fast reading speeds.
Stars: ✭ 93 (-26.77%)
Mutual labels:  dataset, data

pytest-cases

Separate test code from test cases in pytest.

Python versions Pytest versions Build Status Tests Status codecov

Documentation PyPI Downloads Downloads per week GitHub stars

This is the readme for developers. The documentation for users is available here: https://smarie.github.io/python-pytest-cases/

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-cases/issues

Running the tests

This project uses pytest.

pytest -v pytest_cases/tests/

You may need to install requirements for setup beforehand, using

pip install -r ci_tools/requirements-test.txt

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:

python setup.py egg_info bdist_wheel rotate -m.whl -k3

You may need to install requirements for setup beforehand, using

pip install -r ci_tools/requirements-setup.txt

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:

mkdocs build -f docs/mkdocs.yml

You may need to install requirements for doc beforehand, using

pip install -r ci_tools/requirements-doc.txt

Generating the test reports

The following commands generate the html test report and the associated badge.

pytest --junitxml=junit.xml -v pytest_cases/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:

twine upload dist/* -r pypitest
twine upload dist/*
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].