Skip to content

Commit

Permalink
chore: Adjust test md files
Browse files Browse the repository at this point in the history
Use gradle tasks instead of previous setup
  • Loading branch information
joc-a committed Sep 18, 2023
1 parent 0d4be05 commit 21a27d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 2 additions & 3 deletions docs/ORACLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@

### Running tests locally with Docker

* Run Oracle locally, e.g. with `gvenzl/oracle-xe:18-slim-faststart` Docker image or use `docker-compose -f docker-compose-oracle.yml up`
* Run tests with `-Dexposed.test.dialects=oracle`,
(optionally you may need to provide `-Dexposed.test.oracle.host=_YOUR_DOCKER_HOST_ -exposed.test.oracle.port=_ORACLE_EXPOSED_PORT_`)
* Run Oracle locally with gradle task `oracleComposeUp`
* Run tests with `testOracle` gradle task
8 changes: 2 additions & 6 deletions docs/SQLServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@

### Running tests locally with Docker

* Run SQL Server locally, e.g. with Docker image with command like
`docker run -e 'ACCEPT_EULA=1' -e 'SA_PASSWORD=Exposed_password_1!' -p 3005:1433 -d mcr.microsoft.com/azure-sql-edge:1.0.7`
or use `docker-compose -f docker-compose-sqlserver.yml up`

* Run tests with `-Dexposed.test.dialects=sqlserver`,
(optionally you may need to provide `-Dexposed.test.sqlserver.host=_YOUR_DOCKER_HOST_ -exposed.test.sqlserver.port=_SQLSERVER_EXPOSED_PORT_`)
* Run SQL Server locally with gradle task `sqlserverComposeUp`
* Run tests with `testSqlserver` gradle task

0 comments on commit 21a27d6

Please sign in to comment.