mirror of
https://github.com/jlengrand/Exposed.git
synced 2026-03-10 15:49:39 +00:00
654 B
654 B
SQL Server dialect
Running tests locally with Gradle
- Set
dialectin gradle.properties to 'sqlserver' - Run
exposedDialectTestWithDockergradle 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-linuxor usedocker-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_SERVER_EXPOSED_PORT_)