From cce0933beb89e70b8a91a479281bcba0fa384990 Mon Sep 17 00:00:00 2001 From: Timon Borter Date: Tue, 24 Sep 2024 18:42:30 +0200 Subject: [PATCH] docs(#998): mention citrus reporting directory property --- src/manual/reporting.adoc | 10 +++++++--- src/manual/setup.adoc | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/manual/reporting.adoc b/src/manual/reporting.adoc index 1e7f71bf80..f2b9f6535a 100644 --- a/src/manual/reporting.adoc +++ b/src/manual/reporting.adoc @@ -1,7 +1,10 @@ [[reporting-and-test-results]] -= Reporting and test results += Reporting and Test Results -The framework generates different reports and results after a test run for you. These report and result pages will help you to get an overview of the test cases that were executed and which one were failing. +The framework generates different reports and results after a test run for you. +These report and result pages will help you to get an overview of the test cases that were executed and which one were failing. +They're being generated into `target/citrus-reports` by default, but that can be changed by setting the `citrus.report.directory` property to the desired location. +E.g. it could be set to `citrus.report.directory=build/citrus-reports` for <> builds. In the following chapters, we'll provide an overview of the three standard loggers available in Citrus. It's important to note that in Spring, you have the flexibility to replace these standard loggers with your own implementations. This can be achieved by registering custom implementations, as demonstrated in the following code snippet: @@ -27,7 +30,8 @@ public static class OverrideReporterConfiguration { } ---- -Note that you need to allow spring bean overriding to load this configuration as such. It's worth noting that bean overriding is not recommended by spring. Thus the following properties are provided to deactivate standard reporters as needed. +Note that you need to allow spring bean overriding to load this configuration as such. It's worth noting that bean overriding is not recommended by Spring. +Thus the following properties are provided to deactivate standard reporters as needed. [source,properties] ---- diff --git a/src/manual/setup.adoc b/src/manual/setup.adoc index 181eabb6b9..51162ba723 100644 --- a/src/manual/setup.adoc +++ b/src/manual/setup.adoc @@ -158,7 +158,7 @@ As Citrus tests are nothing but normal JUnit or TestNG tests the integration to the source files to a folder in your project. With the Gradle task execution for integration tests you are able to execute the Citrus tests like you would do with normal unit tests. -The Gradle build configuration goees to the **build.gradle** and **settings.gradle** files. The files define the project name +The Gradle build configuration goes to the **build.gradle** and **settings.gradle** files. The files define the project name and the project version. .Gradle project configuration