establish-testing-strategy #25
@@ -78,6 +78,7 @@ dependencies {
|
|||||||
testImplementation("org.springframework.boot:spring-boot-starter-validation-test")
|
testImplementation("org.springframework.boot:spring-boot-starter-validation-test")
|
||||||
testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
|
testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencyManagement {
|
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_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_USERNAME=myusername
|
||||||
DB_PASSWORD=mypw
|
DB_PASSWORD=mypw
|
||||||
OPENAI_KEY=myapikey
|
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:
|
||||||
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user