按标签运行规格
发布于 2021-01-29 14:09:52
在Python和nosetests
测试框架中,有一种标记测试的想法:
from nose.plugins.attrib import attr
@attr(speed='slow')
def test_big_download():
...
并运行仅具有特定标签的测试:
nosetests -a speed=slow
当需要从特定类别或类型运行测试时,这非常有用。
protractor
+中jasmine
有类似的东西吗?
我发现的最接近的功能是在中'grep'
option
引入的1.6.0
:
protractor conf.js --grep='pattern to match'
关注者
0
被浏览
119