如何在BDD故事文件输出中显示时间戳

时间:2019-03-29 19:59:51

标签: selenium bdd jbehave

我有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

0 个答案:

没有答案