/testcontainers-java-module-mssqlserver

Testcontainers module for the MS SQL Server database

Primary LanguageShellMIT LicenseMIT

TestContainers MS SQL Server Module

Testcontainers module for the MS SQL Server database.

See testcontainers.org for more information about Testcontainers.

Usage example

Running MS SQL Server as a stand-in for in a test:

public class SomeTest {

    @Rule
    public MSSQLServerContainer mssqlserver = new MSSQLServerContainer();
    
    @Test
    public void someTestMethod() {
        String url = mssqlserver.getJdbcUrl();

        ... create a connection and run test as normal

Dependency information

Maven

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>mssqlserver</artifactId>
    <version>1.4.3</version>
</dependency>

Gradle

compile group: 'org.testcontainers', name: 'mssqlserver', version: '1.4.3'

License

See LICENSE.

Copyright

Copyright (c) 2017 - 2019 G DATA Software AG and other authors.

See AUTHORS for contributors.