Skip to content

Commit

Permalink
chore: Adjust test md files (JetBrains#1857)
Browse files Browse the repository at this point in the history
* chore: Adjust test md files

Change the naming according to new gradle tasks, docker images, and properties set up in the corresponding `compose` file

Use gradle tasks instead of previous setup
  • Loading branch information
joc-a authored and saral committed Oct 3, 2023
1 parent 8a19fda commit e94627a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
9 changes: 5 additions & 4 deletions docs/ORACLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* `insert` with `select` with `limit` not supported (`DMLTests.testInsertSelect01`)

### Running tests locally with Gradle
* Run `oracleTest` gradle task

* Run `testOracle` gradle task

### Running tests locally with Docker
* Run Oracle locally, e.g. with `quillbuilduser/oracle-18-xe` 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=_SQLSERVER_SERVER_EXPOSED_PORT_`)

* Run Oracle locally with gradle task `oracleComposeUp`
* Run tests with `testOracle` gradle task
13 changes: 5 additions & 8 deletions docs/SQLServer.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
## SQL Server dialect
## SQL Server dialect

### Running tests locally with Gradle
* Run `sqlServerTest` gradle task

### Running tests locally with Docker
* Run SQL Server locally, e.g. with Docker image with command like
`docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 -d microsoft/mssql-server-linux`
or use `docker-compose -f docker-compose-sqlserver.yml up`
* Run `testSqlserver` gradle task

* 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_SERVER_EXPOSED_PORT_`)
### Running tests locally with Docker

* Run SQL Server locally with gradle task `sqlserverComposeUp`
* Run tests with `testSqlserver` gradle task

0 comments on commit e94627a

Please sign in to comment.