from behave import *
@given('we have behave installed')
def step_impl(context):
pass
@when('we implement a test')
def step_impl(context):
assert True is not False
@then('behave will test it for us!')
def step_impl(context):
assert context.failed is False
the doc有示例和教程:
This website有一个behave的视频教程列表。你知道吗
相关问题 更多 >
编程相关推荐