pytest-group-by-class 0.1.5
pip install pytest-group-by-class
Released:
A Pytest plugin for running a subset of your tests by splitting them in to groups of classes.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: marco-mn
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Welcome to pytest-group-by-class!
pytest-group-by-class allows you to split your test runs into groups of tests that belongs to the same class to make it easier to split up your test runs.
Usage
# Install pytest-group-by-class
pip install pytest-group-by-class
# Split the tests into groups based on class and run the second group
py.test --test-group-class --test-group-class-id 2
# Split the tests into groups based on class and run the tests belonging ot class NameOfTheClassToBeExecuted
py.test --test-group-class --test-group-class-name NameOfTheClassToBeExecuted
Why would I use this?
Sometimes you may have some long running test jobs that take a while to complete. This can be a major headache when trying to run tests quickly. pytest-group-by-class allows you to easily say "split my tests into groups of classes and run the second group". This is primarily useful in the context of CI builds.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: marco-mn
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 Distribution
File details
Details for the file pytest-group-by-class-0.1.5.tar.gz
.
File metadata
- Download URL: pytest-group-by-class-0.1.5.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
11057a575081c87a5290af69dba0e52b660fe40015565ccdeca5722e401d3aa9
|
|
MD5 |
9b6e8921d808501efa50ee9a7152672d
|
|
BLAKE2b-256 |
dc6b7decedfe8a831081fd019ce127330a060d18c7636b190b24444adf35cde6
|
File details
Details for the file pytest_group_by_class-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pytest_group_by_class-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0b3592283cbcdf04823515cc6b9ea78f84b77f6d4779ff87b3f7b236d4028523
|
|
MD5 |
1ad8abb849e62bde387fe5a9e116f686
|
|
BLAKE2b-256 |
ef84154bebaa2b24f86730bcd79df39827b1ee2e05e3c8e8aba5d46edca14800
|