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 <[email protected]>
  • Loading branch information
l-1squared authored and andru47 committed Aug 10, 2021
1 parent 5a1b787 commit 9161982
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 9161982

Please sign in to comment.