forked from JetBrains/Exposed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Adjust test md files (JetBrains#1857)
* 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
Showing
2 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |