宁静属性

Serenity properties

如何为 运行 cucumber jvm 使用 serenity 属性?

例如:

serenity.use.unique.browser=true
serenity.requirement.types=Epics,Features
serenity.take.screenshots=FOR_FAILURES
serenity.sourceDirectory=./target/site/serenity

在 Github 上: https://github.com/serenity-bdd/serenity-cucumber

可以在此处找到使用宁静黄瓜的示例: https://github.com/serenity-bdd/serenity-articles/tree/master/introduction-to-serenity-with-cucumber/src/samples/etsy-tester

这指向文章中的示例代码: http://thucydides.info/docs/articles/an-introduction-to-serenity-bdd-with-cucumber.html