An open API service indexing awesome lists of open source software.

https://github.com/jason916/pytest_filter_case

[pytest plugin] run test cases filter by mark
https://github.com/jason916/pytest_filter_case

case-filter pytest-plugin testcase

Last synced: about 1 year ago
JSON representation

[pytest plugin] run test cases filter by mark

Awesome Lists containing this project

README

          

## pytest_filter_case
[pytest plugin] run test cases filter by mark

run test cases filter by mark of env and mark of testcase level

run testcases filter by mark of env, options: private/public/canary/deployment/all, example: [single] --run-env public
run testcases filter by mark of testcase level, options: P0/P1/P2/P3, example: [single] --run-testcase-level P0,[multi] --run-testcase-level P0 P1 P2

## Install
pip install pytest-filter-case

## Usage
for example:
single option
pytest --run-env=public --run-testcase-level=P0

multi options
pytest --run-env=public --run-testcase-level="P0 P1 P2"