TestContainer Postgres
All checks were successful
Gradle Build on PR / call-gradle-build (pull_request) Successful in 2m41s
Publish Snapshot / call-publish (push) Successful in 2m40s

This commit was merged in pull request #1.
This commit is contained in:
2025-09-13 14:47:02 +02:00
parent d9c82b07e0
commit 3b7974793b
7 changed files with 160 additions and 1 deletions

View File

@@ -2,6 +2,20 @@
Library to test integration for aura ascend.
## Postgres Test Container
`@PostgresTestContainer` Annotation for integration tests.
Initialize Postgres test container using test container default properties, script located in `src/<test path>/resources/postgres/` folder.
### Properties For Test Container
| file | required | info |
|---------------------|:--------:|----------------------------------------------------------------|
| postgres/schema.sql | &check; | Postgres init script containing all structure and functions |
| postgres/data.sql | | Postgres data script containing all data to populate database |
| postgres/reset.sql | | Postgres reset script containing all command to reset database |
## Publish library locally.
```shell