generated from aura-ascend/template-library
TestContainer Postgres
This commit is contained in:
14
README.md
14
README.md
@@ -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 | ✓ | 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
|
||||
|
||||
Reference in New Issue
Block a user