小编Ily*_*hev的帖子

pytest的spec插件?

有没有py.test插件类似于鼻子的规格(也是pinocchio的一部分).我想看看测试运行器输出如下所示:

Foobaz
  - behaves such and such
  - causes an error (ERROR)
  - fails to satisfy this specification (FAILED)
  - throws deprecated exception (DEPRECATED)
  - throws skip test exception (SKIPPED)
Run Code Online (Sandbox Code Playgroud)

转换为列表标题的测试用例名称和测试用例方法名称将转换为列表项.或者模块名称和顶级功能,它也是有意义的.

我想自己建造一个并不难,但也许已经有一个?

specifications nose nosetests pytest

5
推荐指数
1
解决办法
491
查看次数

标签 统计

nose ×1

nosetests ×1

pytest ×1

specifications ×1