From e0739cf89a013f4a624119add648fe48ba43a480 Mon Sep 17 00:00:00 2001 From: kasun Date: Wed, 25 Mar 2026 02:37:37 +0100 Subject: [PATCH] revised spring boot docs to match testing strategy --- docs/02-Preparation/02-Spring-Boot-setup.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/02-Preparation/02-Spring-Boot-setup.md b/docs/02-Preparation/02-Spring-Boot-setup.md index 1c3fcf3..42f43bf 100644 --- a/docs/02-Preparation/02-Spring-Boot-setup.md +++ b/docs/02-Preparation/02-Spring-Boot-setup.md @@ -78,6 +78,7 @@ dependencies { testImplementation("org.springframework.boot:spring-boot-starter-validation-test") testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test") testRuntimeOnly("org.junit.platform:junit-platform-launcher") + testImplementation("org.springframework.boot:spring-boot-starter-test") } dependencyManagement { @@ -96,6 +97,7 @@ To configure OpenAI (which I will use instead of LiteLLM initially since I have ``` DB_URL=jdbc:postgresql://192.168.1.208:5433/vaessl +DB_TEST_URL=jdbc:postgresql://192.168.1.208:5434/vaessl_test DB_USERNAME=myusername DB_PASSWORD=mypw OPENAI_KEY=myapikey @@ -136,7 +138,7 @@ spring: ``` -Note that I'm using my own locally hosted PostgreSQL instance here and created a dedicated db for this project. The Docker Compose file will look something like this: +Note that I'm using my own locally hosted PostgreSQL instances for the main and test database. The Docker Compose file will look something like this: ``` ---