From 1a896a63ef1b73d3ce500b91f3f0fc5c001e1d82 Mon Sep 17 00:00:00 2001 From: Oana-Eliza Alexa <43857161+alexaeliza@users.noreply.github.com> Date: Mon, 17 Feb 2025 15:23:56 +0100 Subject: [PATCH] Fix checkstyle --- .../development/automatedtesting/index.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/fusiondirectory/development/automatedtesting/index.rst b/source/fusiondirectory/development/automatedtesting/index.rst index 62c5d28..a73d000 100644 --- a/source/fusiondirectory/development/automatedtesting/index.rst +++ b/source/fusiondirectory/development/automatedtesting/index.rst @@ -16,6 +16,7 @@ In order for the existing tests to be running properly, some prerequisites are n * DSA server: some tests need a dsa server to be available in on the machine, this is done by modifying the orchestrator.conf file from your configuration path to have `tester` as both username and password .. setup: + ##### Setup ##### @@ -43,9 +44,10 @@ In order to run the tests properly you need to follow the next steps: * In both cases you can see which tests ran along with the running time and the result: * `PASSED` for successful test - * `FAILED` for failed test along with a short message (for troubleshooting see :ref:`troubleshooting`) + * `FAILED` for failed test along with a short message (for troubleshooting see :ref:troubleshooting) .. troubleshooting: + ############### Troubleshooting ############### @@ -67,7 +69,7 @@ All important modifiable parts of the code base are inside `qa` folder: * `resources` folder is where we place all of the additional files: - * `testsConfig.ini` file is the initial configuration for the tests, should be modified as stated in :ref:`setup` + * `testsConfig.ini` file is the initial configuration for the tests, should be modified as stated in :ref:setup * `ldifs` folder is where some ldif files are needed that will be inserted in the ldap server before the tests run * as a general rule, all additional files that are not java files, but needed for the tests should be placed here * `test/org/fd` folder is where we place all tests: @@ -101,4 +103,5 @@ Before starting writing a test you should decide where to place it and in order * Run `./gradlew checkstyleTest` and `./gradlew spotbugsTest` and fix the issues if any * Run the tests in your virtual machine and make sure they are passing * Run the tests in a bullseye docker image and ubuntu docker image to make sure everything works out smoothly -By doing so, we reduce the number of failed pipelines and the process of merging source code is faster, since the purpose of the tests is to ease the development process and not to make it slower. To do so we need reliable tests. \ No newline at end of file + +By doing so, we reduce the number of failed pipelines and the process of merging source code is faster, since the purpose of the tests is to ease the development process and not to make it slower. To do so we need reliable tests. -- GitLab