查看win7 安装jey

番茄系统家园 · 2021-07-31 22:53:32

查看win7 安装jey

在包里新建配置文件:

1[]

2;--html=

3;删除原生html,增加

=-s--

5#测试路径=

7#测试文查看win7 安装jey件名=test_*.py

9#测试类名10python_classes=Test_*11#测试的方法名12python_functions=test_*

新建test_001.py:

1importallure

2importpytest

345classTest_Abc:

6@allure.step(title='第一个测试.')

7deftest_abc_001(self):

8assert1910@pytest.mark.parametrize('a',[0,1,2])

11@allure.severity(allure.severity_level.CRITICAL)#严重级别(BLOCKER,CRITICAL,NORMAL,MINOR,TRIVIAL)12@allure.step(title='第二个测试.')

13deftest_abc_002(self,a):

14allure.attach('描述','我是测试步骤001的描述~~~')

15asserta!=2161718if__name__=='__main__':

19pytest.main("-s--alluredirreporttest_001.py")

相关阅读

  • win7五更琉璃
  • walwin7五更琉璃lpaper com
  • 查看win7 安装jey
  • 免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/post/22279.html
    猜你喜欢
    最新应用
    热门应用