pytest-marks

软件截图:
pytest-marks
软件详细信息:
版本: 0.3
上传日期: 15 Apr 15
开发: Adam Goucher
许可: 免费
人气: 71

Rating: 4.5/5 (Total Votes: 2)

要在py.test测试方法设置'标志'的能力是很酷。
    @ pytest.mark.red
   高清some_test_method(个体经营):
        #一些检查-Y的东西
但如果你有,你想要把一个方法半打的痕迹,它会有点令人讨厌。
    @ pytest.mark.red
    @ pytest.mark.green
    @ pytest.mark.blue
    @ pytest.mark.black
    @ pytest.mark.orange
    @ pytest.mark.pink
   高清some_test_method(个体经营):
        #一些检查-Y的东西
什么将是很好的,如果你能运用他们都在一个单一的装饰。
    @ pytest.marks('红','绿','蓝','黑','橙','粉红')
   高清some_test_method(个体经营):
        #一些检查-Y的东西
好了,现在你可以与pytest痕模块

要求

  • 在Python中

类似的软件

rhinoplasty
rhinoplasty

14 Apr 15

Bazinga
Bazinga

11 May 15

tissue
tissue

15 Apr 15

noselog
noselog

20 Feb 15

显影剂的其他软件 Adam Goucher

py.saunter
py.saunter

20 Feb 15

意见 pytest-marks

评论没有发现
添加评论
打开图片!