【发布时间】:2019-09-03 00:35:34
【问题描述】:
我有一个 Java 黄瓜测试,它有以下测试用例:
.....
And the returned information should be
"""
This is the first line of my text
This is the second line of my text
This is the third line of my text
"""
我写的步骤def是:
@Then("^the returned information should be (.*)$")
这不起作用,并且不会捕获多行文本。我该如何为此编写工作步骤定义?
【问题讨论】: