【发布时间】:2021-05-04 08:15:34
【问题描述】:
我想表现出输出所有打印语句 - 例如用于命令行调试。
默认情况下,behave 捕获所有标准输出并仅在失败时打印。
@when('we implement a test')
def step_impl(context):
print ('please debug me')
assert True is not False
【问题讨论】:
标签: python testing bdd python-behave