JBehave中的“无法生成报告视图”错误

时间:2014-09-17 10:17:32

标签: java maven bdd jbehave

在运行JBehave BDD场景时,我收到此错误:

Generating reports view to 'C:\Users\dev\.hudson\jobs\JavaProject\workspace\behavioural-test\target\jbehave' using formats '[stats, console, ide_console]' and view properties '{viewDirectory=view, views=ftl/jbehave-views.ftl, reports=ftl/jbehave-reports-with-totals.ftl, decorateNonHtml=true, nonDecorated=ftl/jbehave-report-non-decorated.ftl, decorated=ftl/jbehave-report-decorated.ftl, defaultFormats=stats, maps=ftl/jbehave-maps.ftl}'
Failed to generate reports view to 'C:\Users\dev\.hudson\jobs\JavaProject\workspace\behavioural-test\target\jbehave' using formats '[stats, console, ide_console]' and view properties '{viewDirectory=view, views=ftl/jbehave-views.ftl, reports=ftl/jbehave-reports-with-totals.ftl, decorateNonHtml=true, nonDecorated=ftl/jbehave-report-non-decorated.ftl, decorated=ftl/jbehave-report-decorated.ftl, defaultFormats=stats, maps=ftl/jbehave-maps.ftl}'
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.531 sec <<< FAILURE! 

所有场景都通过,但是因为它显示“无法生成报告......错误:1”(不是失败)

如何解决这个问题?或者我在配置中需要做哪些更改来抑制这些错误?

0 个答案:

没有答案