摘要:
conftest.py import pytest @pytest.fixture() def test_1(): print('\n') print(' 前置 test1 ') @pytest.fixture() def test_2(): print(' 前置==test2 ') yield p 阅读全文
posted @ 2022-06-30 18:58
Tarzen
阅读(324)
评论(0)
推荐(0)
摘要:
Pytest中使用assertpy断言 在我调研assertpy的时候发现了这么一句话: Of course, assertpy works best with a python test runner like pytest (our favorite) or Nose. 那么正好我们也是使用py 阅读全文
posted @ 2022-06-30 10:24
Tarzen
阅读(259)
评论(0)
推荐(0)

浙公网安备 33010602011771号