Skip to content

Commit

Permalink
Issue-271: add settings notice to documentation
Browse files Browse the repository at this point in the history
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
  • Loading branch information
l-1squared committed Jul 20, 2021
1 parent aef09b3 commit 09b4728
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/report_generation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Now run:
$ mvn verify
----

HTML reports are then generated into the `target/jgiven-reports/html` directory.
HTML reports are then generated into the `target/jgiven-reports/html` directory. Note that the plugin relies on the existence of the JSON output, so if the property `jgiven.reports.enabled` was set to `false`, no output will be generated.

==== Gradle

Expand Down Expand Up @@ -171,6 +171,7 @@ buildscript {
}
apply plugin: "com.tngtech.jgiven.gradle-plugin"
----

Now run:
Expand All @@ -180,7 +181,7 @@ Now run:
$ gradle test jgivenTestReport
----

HTML reports are then generated into the `build/reports/jgiven/test/html/` directory.
HTML reports are then generated into the `build/reports/jgiven/test/html/` directory. Note that the plugin relies on the existence of the JSON output, so if the property `jgiven.reports.enabled` was set to `false`, no output will be generated.

If you want that the HTML report is always generated after the tests
have been executed, you can configure the `test` task in your Gradle
Expand Down

0 comments on commit 09b4728

Please sign in to comment.