是否有类似于nose的spec(也是pinocchio的一部分)的py.test插件。我想看到测试运行器输出如下:
Foobaz
- behaves such and such
- causes an error (ERROR)
- fails to satisfy this specification (FAILED)
- throws deprecated exception (DEPRECATED)
- throws skip test exception (SKIPPED)
测试用例名称转换为列表标题,测试用例方法名称转换为列表项。对于模块名称和顶级函数,这也是有意义的。
我想自己构建一个并不难,但也许已经有现成的了?