From e64d7a28c70c49fb35cd6f39249fb779ed2bbd3e Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Tue, 7 Jul 2026 16:07:15 +0300 Subject: [PATCH 1/9] feat: add README.md instructions to run Robot tests --- README.md | 179 +++++++++++++++++++++++++++++++++++---- tests/run_local_tests.sh | 44 +++++----- 2 files changed, 185 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index fb9f78e6..43a65156 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,181 @@ # EHRbase Integration Tests with Robot Framework -## Running the tests locally +
+Prerequisites +
-Before running the tests, make sure the following prerequisites are in place: -1. Python 3.11.* & Pip are installed: -- https://www.python.org/downloads/ -- https://pip.pypa.io/en/stable/installation/ -2. Robot Framework & dependencies are installed (run `pip install -r requirements.txt` inside the `tests` folder) -3. An EHRbase instance is running on port `8080` +1. **Docker installed.** + * [Get Docker](https://docs.docker.com/get-started/get-docker/) +2. **Python 3.11.x & Pip installed:** + * [Python Downloads](https://www.python.org/downloads/) + * [Pip Installation Guide](https://pip.pypa.io/en/stable/installation/) -This command will run all tests from `tests/robot` folder. -DB and server have to be started prior to running the tests. +2. **Robot Framework & dependencies installed:** + * Run the following command inside your `tests` folder: + ```bash + pip install -r requirements.txt + ``` +3. **An EHRbase instance running on port `8080`:** +
+ Click to expand: Configure & run EHRbase instance +
+ + 1. Create the Docker network: + ```bash + docker network create ehrbase-net + ``` + 2. Spin up the Postgres database: + ```bash + docker run --name ehrdb --network ehrbase-net -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 ehrbase/ehrbase-v2-postgres:16.2 + ``` + 3. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: + ```yaml + ehrscape.enabled: true + tags.enabled: true + aql.debugging-enabled: true + aql.response.generator-details-enabled: true + ``` + > **Note:** If you need to modify other settings, feel free to do so. However, please note that existing Robot tests are tightly coupled to the default configuration and may fail if other values are changed. + + 4. Build the project (run from the root `/ehrbase` folder): + ```bash + mvn clean install -Dmaven.test.skip=true + ``` + 5. Start the application (run from the root `/ehrbase` folder): + ```bash + java -jar application/target/ehrbase.jar --server.nodename=local.ehrbase.org + ``` + 6. Wait for the confirmation message in your console: + `Started EhrBase in X seconds` +
+
+ +### Trigger Robot tests locally +From /ehrbase root project directory, run: ```bash cd tests ./run_local_tests.sh ``` -## Running the test using docker +## Running tests in Docker + +
+Prerequisites +
+ +1. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: + ```yaml + ehrscape.enabled: true + tags.enabled: true + aql.debugging-enabled: true + aql.response.generator-details-enabled: true + ``` + > **Note:** If you need to modify other settings, feel free to do so. However, please note that existing Robot tests are tightly coupled to the default configuration and may fail if other values are changed. +2. Build the project (run from the root `/ehrbase` folder): + ```bash + mvn clean install -Dmaven.test.skip=true + ``` +3. Build Docker image (run from the root `/ehrbase` folder): + ```bash + docker build -t ehrbase/ehrbase:next . + ``` +4. Set environment variable `EHRBASE_IMAGE`: + ```bash + SET EHRBASE_IMAGE=ehrbase/ehrbase:next + ``` +
+ +Execute a single test suite and store results in `./tests/results` (run from the root `/ehrbase` folder): +
+Expand commands to run tests in Docker +
-Execute a single test suite and store results in `./results`: ```bash -docker run -ti -v ./results:/integration-tests/results ehrbase/integration-tests:build runRobotTest \ +docker compose -f docker-compose.yml -f tests/docker-compose-int-test.yml run \ + --remove-orphans --rm ehrbase-integration-tests runRobotTest \ --serverBase http://ehrbase:8080 \ --name SANITY \ --path SANITY_TESTS \ - --tags Sanity + --tags Sanity \ + --env NONE +``` +For the other suites, just replace below lines (for example) in the above full command: +```bash +... + --name STORED_QUERY \ + --path STORED_QUERY_TESTS \ + --tags stored_query \ +... +``` +```bash +... + --name COMPOSITION \ + --path COMPOSITION_TESTS \ + --tags COMPOSITION \ +... +``` +```bash +... + --name CONTRIBUTION \ + --path CONTRIBUTION_TESTS \ + --tags CONTRIBUTION \ +... +``` +```bash +... + --name DIRECTORY \ + --path DIRECTORY_TESTS \ + --tags DIRECTORY \ +... +``` +```bash +... + --name AQL \ + --path AQL_TESTS \ + --tags AQL_TESTS_PACKAGE \ +... +``` +```bash +... + --name EHR_SERVICE \ + --path EHR_SERVICE_TESTS \ + --tags EHR_SERVICE \ +... +``` +```bash +... + --name EHR_STATUS \ + --path EHR_STATUS_TESTS \ + --tags EHR_STATUS \ +... +``` +```bash +... + --name EHRSCAPE \ + --path EHRSCAPE_TESTS \ + --tags EhrScapeTag \ +... +``` +```bash +... + --name TAGS \ + --path TAGS_TESTS \ + --tags TAGS_SUITES \ +... +``` +```bash +... + --name TEMPLATE \ + --path TEMPLATE_TESTS \ + --tags template \ +... ``` - -Collect results of multiple tests into a single report ```bash -docker run -ti -v ./results:/integration-tests/results -v ./report:/integration-tests/report ehrbase/integration-tests:build collectRebotResults +... + --name SWAGGER \ + --path SWAGGER_TESTS \ + --tags SWAGGER_EHRBASE \ +... ``` +
diff --git a/tests/run_local_tests.sh b/tests/run_local_tests.sh index 3f645822..cef8dafc 100644 --- a/tests/run_local_tests.sh +++ b/tests/run_local_tests.sh @@ -19,7 +19,7 @@ # Set desired loglevel: NONE, INFO, DEBUG, TRACE (most details) -export LOG_LEVEL=TRACE +export LOG_LEVEL=DEBUG # # UNCOMMENT NEXT LINE & COMMENT-OUT ALL OTHERS BELOW TO RUN ONLY 'XXX' TESTS @@ -28,7 +28,7 @@ export LOG_LEVEL=TRACE # RUN SANITY TESTS robot -i Sanity -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/SANITY_TESTS \ + --outputdir ../results/test-suites/SANITY_TESTS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -39,7 +39,7 @@ robot -i Sanity -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN CONTRIBUTION SERVICE TESTS robot -i CONTRIBUTION -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/CONTRIBUTION_SERVICE \ + --outputdir ../results/test-suites/CONTRIBUTION_SERVICE \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -50,7 +50,7 @@ robot -i CONTRIBUTION -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN SWAGGER TESTS robot -i SWAGGER_EHRBASE -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/SWAGGER_TESTS \ + --outputdir ../results/test-suites/SWAGGER_TESTS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -61,7 +61,7 @@ robot -i SWAGGER_EHRBASE -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN TEMPLATE TESTS robot -i template -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/TEMPLATE_TESTS \ + --outputdir ../results/test-suites/TEMPLATE_TESTS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -72,7 +72,7 @@ robot -i template -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN STORED QUERY TESTS robot -i stored_query -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/STORED_QUERY_TESTS \ + --outputdir ../results/test-suites/STORED_QUERY_TESTS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -83,7 +83,7 @@ robot -i stored_query -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN TAGS TESTS robot -i TAGS_SUITES -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/TAGS_TESTS \ + --outputdir ../results/test-suites/TAGS_TESTS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -94,7 +94,7 @@ robot -i TAGS_SUITES -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN COMPOSITION SERVICE TESTS robot -i COMPOSITION -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/COMPOSITION_SERVICE \ + --outputdir ../results/test-suites/COMPOSITION_SERVICE \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -105,7 +105,7 @@ robot -i COMPOSITION -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN DIRECTORY SERVICE TESTS robot -i DIRECTORY -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/DIRECTORY_SERVICE \ + --outputdir ../results/test-suites/DIRECTORY_SERVICE \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -116,7 +116,7 @@ robot -i DIRECTORY -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN AQL TESTS robot -i AQL_TESTS_PACKAGE -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/AQL_TESTS \ + --outputdir ../results/test-suites/AQL_TESTS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ @@ -127,43 +127,43 @@ robot -i AQL_TESTS_PACKAGE -e circleci -e EHRSCAPE -e obsolete -e libtest \ # RUN EHR SERVICE TESTS robot -i EHR_SERVICE -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/EHR_SERVICE \ + --outputdir ../results/test-suites/EHR_SERVICE \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ --flattenkeywords name:_resources.* \ --loglevel $LOG_LEVEL \ - --name EHR \ + --name EHR_SERVICE \ robot/EHR_SERVICE_TESTS/ # RUN EHR STATUS TESTS robot -i EHR_STATUS -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/EHR_STATUS \ + --outputdir ../results/test-suites/EHR_STATUS \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ --flattenkeywords name:_resources.* \ --loglevel $LOG_LEVEL \ - --name EHR \ + --name EHR_STATUS \ robot/EHR_STATUS_TESTS/ -# RUN KNOWLEDGE SERVICE TESTS -robot -i KNOWLEDGE -e circleci -e EHRSCAPE -e obsolete -e libtest \ - --outputdir results/test-suites/KNOWLEDGE_SERVICE \ +# RUN EHRSCAPE TESTS +robot -i EhrScapeTag -e circleci -e EHRSCAPE -e obsolete -e libtest \ + --outputdir ../results/test-suites/EHRSCAPE \ --skiponfailure not-ready \ --flattenkeywords for \ --flattenkeywords foritem \ --flattenkeywords name:_resources.* \ --loglevel $LOG_LEVEL \ - --name KNOWLEDGE \ - robot/KNOWLEDGE_TESTS/ + --name EHRSCAPE \ + robot/EHRSCAPE_TESTS/ # POST PROCESS & MERGE OUTPUTS # Create Log/Report with ALL DETAILS -rebot --outputdir results \ - --name EHRbase \ +rebot --outputdir ../results \ + --name EHRbase Open Source Robot Tests \ --exclude TODO -e future -e obsolete -e libtest \ --removekeywords for \ --removekeywords wuks \ @@ -173,7 +173,7 @@ rebot --outputdir results \ --output EHRbase-output.xml \ --log EHRbase-log.html \ --report EHRbase-report.html \ - results/test-suites/*/*.xml + ../results/test-suites/*/*.xml From a264edb047030c97833073a03f8a3ef306cecfc8 Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Tue, 7 Jul 2026 16:18:21 +0300 Subject: [PATCH 2/9] fix: adjust .md --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 43a65156..6e73f62b 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,26 @@ # EHRbase Integration Tests with Robot Framework +# Table of Contents +- [1. Trigger Robot tests outside of Docker](#Trigger Robot tests outside of Docker) +- [2. Running tests in Docker](#Running tests in Docker) + +## Trigger Robot tests outside of Docker +
Prerequisites
-1. **Docker installed.** +1. **Docker installed** * [Get Docker](https://docs.docker.com/get-started/get-docker/) 2. **Python 3.11.x & Pip installed:** * [Python Downloads](https://www.python.org/downloads/) * [Pip Installation Guide](https://pip.pypa.io/en/stable/installation/) - -2. **Robot Framework & dependencies installed:** +3. **Robot Framework & dependencies installed:** * Run the following command inside your `tests` folder: ```bash pip install -r requirements.txt ``` - -3. **An EHRbase instance running on port `8080`:** +4. **An EHRbase instance running on port `8080`:**
Click to expand: Configure & run EHRbase instance
@@ -51,7 +55,6 @@
-### Trigger Robot tests locally From /ehrbase root project directory, run: ```bash cd tests From cf13b50954c2dde08dae78d5d921746cf4e945db Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Tue, 7 Jul 2026 16:25:53 +0300 Subject: [PATCH 3/9] fix: adjust .md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6e73f62b..d3d55be8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ # EHRbase Integration Tests with Robot Framework -# Table of Contents -- [1. Trigger Robot tests outside of Docker](#Trigger Robot tests outside of Docker) -- [2. Running tests in Docker](#Running tests in Docker) - -## Trigger Robot tests outside of Docker +## Running Robot tests outside of Docker
Prerequisites @@ -61,7 +57,7 @@ cd tests ./run_local_tests.sh ``` -## Running tests in Docker +## Running Robot tests in Docker
Prerequisites From a4ddae3fbfa8ffb0bae9ea198ad1cb504c6062a0 Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Wed, 8 Jul 2026 14:50:42 +0300 Subject: [PATCH 4/9] fix: adjust README.md --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d3d55be8..61e53af0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ * [Python Downloads](https://www.python.org/downloads/) * [Pip Installation Guide](https://pip.pypa.io/en/stable/installation/) 3. **Robot Framework & dependencies installed:** - * Run the following command inside your `tests` folder: + * Run the following command inside your `/tests` folder: ```bash pip install -r requirements.txt ``` @@ -29,13 +29,14 @@ ```bash docker run --name ehrdb --network ehrbase-net -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 ehrbase/ehrbase-v2-postgres:16.2 ``` - 3. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: - ```yaml - ehrscape.enabled: true - tags.enabled: true - aql.debugging-enabled: true - aql.response.generator-details-enabled: true - ``` + 3. Get EHRBase repository locally from https://github.com/ehrbase/ehrbase + 4. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: + ```yaml + ehrscape.enabled: true + tags.enabled: true + aql.debugging-enabled: true + aql.response.generator-details-enabled: true + ``` > **Note:** If you need to modify other settings, feel free to do so. However, please note that existing Robot tests are tightly coupled to the default configuration and may fail if other values are changed. 4. Build the project (run from the root `/ehrbase` folder): @@ -51,7 +52,7 @@
-From /ehrbase root project directory, run: +From `/integration-tests` root project directory, run: ```bash cd tests ./run_local_tests.sh @@ -63,7 +64,8 @@ cd tests Prerequisites
-1. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: +1. Get EHRBase repository locally from https://github.com/ehrbase/ehrbase (if not present) +2. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: ```yaml ehrscape.enabled: true tags.enabled: true From 52def0b5a0e84c708e54e9c83032eb493d136e57 Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Wed, 8 Jul 2026 14:57:15 +0300 Subject: [PATCH 5/9] fix: adjust README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 61e53af0..51d33b26 100644 --- a/README.md +++ b/README.md @@ -39,15 +39,15 @@ ``` > **Note:** If you need to modify other settings, feel free to do so. However, please note that existing Robot tests are tightly coupled to the default configuration and may fail if other values are changed. - 4. Build the project (run from the root `/ehrbase` folder): + 5. Build the project (run from the root `/ehrbase` folder): ```bash mvn clean install -Dmaven.test.skip=true ``` - 5. Start the application (run from the root `/ehrbase` folder): + 6. Start the application (run from the root `/ehrbase` folder): ```bash java -jar application/target/ehrbase.jar --server.nodename=local.ehrbase.org ``` - 6. Wait for the confirmation message in your console: + 7. Wait for the confirmation message in your console: `Started EhrBase in X seconds` @@ -57,6 +57,7 @@ From `/integration-tests` root project directory, run: cd tests ./run_local_tests.sh ``` +Results will be stored in `./integration-tests/results/test-suites` ## Running Robot tests in Docker From d6e38fb2661c33a6f5978635b1f325266cb2286a Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Thu, 9 Jul 2026 12:58:38 +0300 Subject: [PATCH 6/9] fix: adjust README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 51d33b26..f1613859 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ cd tests ``` Results will be stored in `./integration-tests/results/test-suites` +--- ## Running Robot tests in Docker
From 9ea5a9692a463306c63635bdc269d5f596db83d2 Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Mon, 13 Jul 2026 15:00:57 +0300 Subject: [PATCH 7/9] fix: add where results are stored and describe log.html, output.xml --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f1613859..0a4d2412 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,11 @@ Results will be stored in `./integration-tests/results/test-suites` ```
-Execute a single test suite and store results in `./tests/results` (run from the root `/ehrbase` folder): +Execute a single test suite (run from the root `./ehrbase` folder). +* Results will be stored under in `./ehrbase/tests/results/(folder_with_test_suite_path_name)`. +* Example: + - ./ehrbase/tests/results/SANITY + - ./ehrbase/tests/results/STORED_QUERY
Expand commands to run tests in Docker
@@ -182,3 +186,13 @@ For the other suites, just replace below lines (for example) in the above full c ... ```
+ + +## Reading results +For both options, log.html and output.xml files will be created where: +1. **output.xml** - generated during test execution. After test execution is completed, it will be automatically post-processed by [Rebot](https://robot-framework.readthedocs.io/en/stable/_modules/robot/rebot.html) tool, which is an integral part of Robot Framework, generating the user-friendly **log.html** file. +2. **log.html** - contains details about the executed test cases in HTML format. Test suite, test case and keyword details have a hierarchical structure for better readability. + +References: +- [output.xml](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#output-file) +- [log.html](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#log-file) \ No newline at end of file From 6c5fd0416ceb29e67d98e358f2107f94aea818f9 Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Mon, 13 Jul 2026 15:05:52 +0300 Subject: [PATCH 8/9] fix: typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a4d2412..71cc0d9c 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Results will be stored in `./integration-tests/results/test-suites` Execute a single test suite (run from the root `./ehrbase` folder). -* Results will be stored under in `./ehrbase/tests/results/(folder_with_test_suite_path_name)`. +* Results will be stored in `./ehrbase/tests/results/(folder_with_test_suite_path_name)`. * Example: - ./ehrbase/tests/results/SANITY - ./ehrbase/tests/results/STORED_QUERY From d0252df61db5dd2bdbb2c5d8b79bd7f1a814e587 Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Mon, 13 Jul 2026 16:30:11 +0300 Subject: [PATCH 9/9] fix: use backlash to conform to Windows path notation --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 71cc0d9c..c9ee4891 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ * [Python Downloads](https://www.python.org/downloads/) * [Pip Installation Guide](https://pip.pypa.io/en/stable/installation/) 3. **Robot Framework & dependencies installed:** - * Run the following command inside your `/tests` folder: + * Run the following command inside your `.\integration-tests\tests` folder path: ```bash pip install -r requirements.txt ``` @@ -52,12 +52,12 @@ -From `/integration-tests` root project directory, run: +From `.\integration-tests` root project directory, run: ```bash cd tests -./run_local_tests.sh +.\run_local_tests.sh ``` -Results will be stored in `./integration-tests/results/test-suites` +Results will be stored in `.\integration-tests\results\test-suites` --- ## Running Robot tests in Docker @@ -67,7 +67,7 @@ Results will be stored in `./integration-tests/results/test-suites`
1. Get EHRBase repository locally from https://github.com/ehrbase/ehrbase (if not present) -2. Change the following properties in `ehrbase/configuration/src/main/resources/application.yml`: +2. Change the following properties in `.\ehrbase\configuration\src\main\resources\application.yml`: ```yaml ehrscape.enabled: true tags.enabled: true @@ -75,11 +75,11 @@ Results will be stored in `./integration-tests/results/test-suites` aql.response.generator-details-enabled: true ``` > **Note:** If you need to modify other settings, feel free to do so. However, please note that existing Robot tests are tightly coupled to the default configuration and may fail if other values are changed. -2. Build the project (run from the root `/ehrbase` folder): +2. Build the project (run from the root `.\ehrbase` folder): ```bash mvn clean install -Dmaven.test.skip=true ``` -3. Build Docker image (run from the root `/ehrbase` folder): +3. Build Docker image (run from the root `.\ehrbase` folder): ```bash docker build -t ehrbase/ehrbase:next . ``` @@ -89,11 +89,11 @@ Results will be stored in `./integration-tests/results/test-suites` ``` -Execute a single test suite (run from the root `./ehrbase` folder). -* Results will be stored in `./ehrbase/tests/results/(folder_with_test_suite_path_name)`. +Execute a single test suite (run from the root `.\ehrbase` folder). +* Results will be stored in `.\ehrbase\tests\results\(folder_with_test_suite_path_name)`. * Example: - - ./ehrbase/tests/results/SANITY - - ./ehrbase/tests/results/STORED_QUERY + - .\ehrbase\tests\results\SANITY + - .\ehrbase\tests\results\STORED_QUERY
Expand commands to run tests in Docker