Generates jgiven html5 reports based on ScalaTest tests execution.
Here is what you will get starting from ScalaTest FeatureSpec basic example:
Add this plugin to your project/plugins.sbt file:
addSbtPlugin("io.github.seblm" % "sbt-jgiven-scalatest-reporter" % "1.0.3")When you run your ScalaTest tests as usual with sbt.
Then you can visit target/jgiven-reports/html/index.html.
Add theses settings to your build.sbt file:
libraryDependencies += "io.github.seblm" %% "jgiven-scalatest-reporter" % "1.0.3" % Test
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-C", "io.github.seblm.scalatest.jgiven.JGivenHtml5Reporter")When you run your ScalaTest tests as usual with sbt.
Then you can visit target/jgiven-reports/html/index.html.
Add jgiven-scalatest-reporter.jar to your test classpath. Add
-C io.github.seblm.scalatest.jgiven.JGivenHtml5Reporter to Program arguments of your scalatest launcher.
When you run your ScalaTest tests as usual with your IDE.
Then you can visit target/jgiven-reports/html/index.html.
Run scripted for sbt script tests.
sbt publishSigned sonatypeBundleRelease
According to documentation, needs gpg with a default signature, gpg-agent
running (gpg-connect-agent /bye) and ~/.sbt/1.0/sonatype.sbt with:
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"username",
"passphrase")