从测试中收集信息的pytest插件
pytest-info-collector的Python项目详细描述
pytest_info_collector是pytest的一个插件,提供了一个用于收集的fixture 独立于测试状态的测试信息及其显示。
一个简单的例子是:
def test_single(test_info): test_info("A simple test")
在测试结束时显示“一个简单的测试”。进一步 文档可以在https://pytest-info-collector.readthedocs.io找到。
错误报告和建议应提交至 https://github.com/aragilar/pytest-info-collector/issues。