01 2023 档案
pytest 获取测试用例的markers
摘要:python自动化测试脚本中,测试用例被不同的marker name装饰,那么如果获取这些marker name呢? 1.测试文件: tests/ --conftest.py --test_demo.py 2.代码实现 test_demo.py import pytest class TestDem
阅读全文