This is an SBT 1.x plugin which uses AutoPlugin and serenity libraries to generate the test reports.
Strongly (99%) inspired by sbt-serenity-plugin.
You can build and publish the plugin in the normal way to your local Ivy repository:
sbt publishLocal
In project/plugins.sbt
:
addSbtPlugin("dev.cheleb.sbt-serenity" % "serenitysbtplugin" % "1.0.0-SNAPSHOT")
In build.sbt
:
val myProject = (project in file(".")).enablePlugins(SerenitySbtPlugin)
The plugin will automatically generate the reports after the tests are run. The reports will be generated in target/serenity
.
See it in action in the serenity-sbt-example