我有BDD故事文件,其中有“给定,何时,然后,场景”的文件。 我想在故事文件输出中添加时间戳。我们该怎么做?
一个例子:
Given a step that is executed before each story
Scope: SCENARIO
Given a step that is executed before each scenario
这是我通过Jenkins运行故事时的输出。我想将故事文件输出中的时间戳记为:
<Timestamp here> Given a step that is executed before each story
Scope: SCENARIO
Given a step that is executed before each scenario