An open API service indexing awesome lists of open source software.

https://github.com/doxakis/sql-server-integration-tests

Performing integration tests with SQL Server in the cloud with appveyor.
https://github.com/doxakis/sql-server-integration-tests

Last synced: 5 months ago
JSON representation

Performing integration tests with SQL Server in the cloud with appveyor.

Awesome Lists containing this project

README

          

# SQL-Server-integration-tests [![Build status](https://ci.appveyor.com/api/projects/status/e8lmty41c5sxf89c?svg=true)](https://ci.appveyor.com/project/doxakis/sql-server-integration-tests)

Performing integration tests with SQL Server in the cloud with appveyor.

Check out the files: appveyor.yml and test.sql

It uses Microsoft SQL Server 2017 and run the script `test.sql` with the `-b` option (terminate batch job if there is an error).

appveyor.yml:
```
services:
- mssql2017

build_script:
- sqlcmd -b -i test.sql
```

Calling for example ```THROW 50000,'My error msg.',1```, it will make the build fail in the cloud.

# Copyright and license
Code released under the MIT license.