...
Database | Version |
---|
DB2 | 10.5 |
DB2 | 11.1 |
POSTGRES | 10 .4latest |
H2 | - |
By default the unit tests will run with the H2 database. If you want to run the tests with a different database you have to create theĀ taskanaUnitTest.properties
file in your home directory.
...
Code Block |
---|
title | taskanaUnitTest.properties |
---|
|
jdbcDriver=com.ibm.db2.jcc.DB2Driver
jdbcUrl=jdbc:db2://localhost:50101/tskdb
dbUserName=db2inst1
dbPassword=db2inst1-pwd
schemaName=TASKANA
|
POSTGRES 10
...
latest
Info |
---|
Please use the configuration in ci folder with the docker compose command. In this configuration the postgres database will be configured with german collation for ordering. |
Code Block |
---|
language | bash |
---|
title | start command |
---|
|
docker run -dcompose -p 50102:5432 --name taskana-postgres_10_4 -e POSTGRES_PASSWORD=postgres postgres:10.4f $scriptDir/docker-compose.yml up -d |
Code Block |
---|
title | taskanaUnitTest.properties |
---|
|
jdbcDriver=org.postgresql.Driver
jdbcUrl=jdbc:postgresql://localhost:50102/postgres
dbUserName=postgres
dbPassword=postgres
schemaName=taskana
|
...