Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.09 KB

File metadata and controls

53 lines (34 loc) · 1.09 KB

PERMANENTLY MOVED TO TESTCONTAINERS REPOSITORY

See https://github.com/testcontainers/testcontainers-java/tree/master/modules/mssqlserver

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.