Skip to content

Commit 3c7cbcf

Browse files
committed
Polishing.
Original pull request #1636
1 parent 4062237 commit 3c7cbcf

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

spring-data-jdbc/README.adoc

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ This will execute unit tests and integration tests using an in-memory database.
4444

4545
=== Running tests with a real database
4646

47-
In order to run the integration tests against a specific database, you need to have a local Docker installation available, and then execute.
47+
In order to run the integration tests against a specific database, you need to have a local Docker installation available, and then execute:
4848

4949
[source]
5050
----
51-
mvn test -Dspring.profiles.active=<databasetype>
51+
mvn verify -Dspring.profiles.active=<databasetype>
5252
----
5353

5454
This will also execute the unit tests.
@@ -57,15 +57,20 @@ Currently, the following _databasetypes_ are available:
5757

5858
* hsql (default, does not require a running database)
5959
* mysql
60+
* mariadb
6061
* postgres
6162
* mariadb
6263
* mssql
64+
* oracle
65+
* db2
6366

64-
Testing with Microsoft SQL Server requires you to accept the EULA of the Microsoft SQL Server Docker image so that the build may download and run it for you.
65-
In order to accept the EULA, please add a file named `container-license-acceptance.txt` to the classpath, i.e. `src/test/resources` with the content:
67+
Testing with Microsoft SQL Server and IBM DB2 requires you to accept the EULA of the respective Docker image so that the build may download and run it for you.
68+
In order to accept the EULA, please add a file named `container-license-acceptance.txt` to the classpath, i.e. `src/test/resources` containing the name of the docker images.
69+
At the time of this writing this would be
6670

6771
```
68-
microsoft/mssql-server-linux:2017-CU6
72+
mcr.microsoft.com/mssql/server:2022-CU5-ubuntu-20.04
73+
ibmcom/db2:11.5.7.0a
6974
```
7075

7176
=== Run tests with all databases
@@ -75,4 +80,4 @@ microsoft/mssql-server-linux:2017-CU6
7580
mvn test -Pall-dbs
7681
----
7782

78-
This will execute the unit tests and all the integration tests with all the databases we currently support for testing. Running the integration-tests depends on Docker.
83+
This will execute the unit tests and all the integration tests with all the databases we currently support for testing.

0 commit comments

Comments
 (0)