playframework - Generate HTML report for JGiven with SBT -
i using jgiven tests in 1 of play 2.3.x application. documentation explains how generate html reports maven , gradle. nothing available sbt.
is there workaround generate reports @ end of tests ? maybe adding in build.sbt
? tried play "javaoptions in tests" couldn't figure out how make work.
thanks.
i not know sbt in detail, however, @ahus1 mentions in comment, can call com.tngtech.jgiven.report.reportgenerator
main class. example:
build.sbt:
librarydependencies += "com.tngtech.jgiven" % "jgiven-html5-report" % "0.9.3"
on command line:
$ sbt > run-main com.tngtech.jgiven.report.reportgenerator --sourcedir=target/jgiven-reports/json/ --targetdir=target/jgiven-reports/html
it great if tell me if final solution, can document in jgiven documentation.
Comments
Post a Comment