pytest plugin for generating test cases by yaml
Project description
pytest-yml
pytest plugin for generating test cases by yaml
Install
pip install pytest-yaml-sanmu
Config
[pytest]
run_yaml_case = 1
Usage
(venv) D:\git\github\dongfangtianyu\pytest-yaml-sanmu>pytest
======================================= test session starts =======================================
platform win32 -- Python 3.10.5, pytest-7.2.1, pluggy-1.0.0
rootdir: D:u\git\github\dongfangtianyu\pytest-yaml-sanm, configfile: pytest.ini
plugins: allure-pytest-2.13.0, result-log-1.0.1, yaml-0.2.1.dev
collected 27 items
tests\e2e\test_allure.yaml . [ 3%]
tests\e2e\test_marks_by_user.yaml . [ 7%]
tests\e2e\test_marks_have_no_parameters.yaml sX [ 14%]
tests\e2e\test_marks_have_parameters.yaml ss.X. [ 33%]
tests\e2e\test_marks_parametrize.yaml ............... [ 88%]
tests\e2e\test_marks_usefixtures.yaml .x [ 92%]
tests\e2e\test_simple.yaml . [ 100%]
============================21 passed, 3 skipped, 1 xfailed, 2 xpassed in 0.20s ====================
Project details
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pytest_yaml_sanmu-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce0d9b242c94163170c29785263a513e907421a2fb7c006a4b56ce22fd80cbb |
|
MD5 | e96f520c6d764d8d5b5daf9b39724810 |
|
BLAKE2b-256 | 9f41e51d0356c1c5226f29ab09325ac42e8efc763a7437e012d1842115e42094 |