Skip to content

Commit

Permalink
docs(#998): mention citrus reporting directory property
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt authored and christophd committed Sep 25, 2024
1 parent a4b30e4 commit cce0933
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/manual/reporting.adoc
Original file line number Diff line number Diff line change
@@ -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 <<setup-gradle,Gradle>> 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:

Expand All @@ -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]
----
Expand Down
2 changes: 1 addition & 1 deletion src/manual/setup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cce0933

Please sign in to comment.