Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segovoni/1nn0va-saturday-2023-sql-unit-testing-automation
Automate the testing of one or more SQL Server objects using tSQLt, Docker, and GitHub Action!
https://github.com/segovoni/1nn0va-saturday-2023-sql-unit-testing-automation
ci-cd demo docker github-actions sql-server tsqlt unit-testing
Last synced: about 13 hours ago
JSON representation
Automate the testing of one or more SQL Server objects using tSQLt, Docker, and GitHub Action!
- Host: GitHub
- URL: https://github.com/segovoni/1nn0va-saturday-2023-sql-unit-testing-automation
- Owner: segovoni
- License: mit
- Created: 2023-09-15T21:37:57.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-17T16:49:42.000Z (about 1 year ago)
- Last Synced: 2023-09-17T18:32:16.872Z (about 1 year ago)
- Topics: ci-cd, demo, docker, github-actions, sql-server, tsqlt, unit-testing
- Language: TSQL
- Homepage: https://1nn0vasat2023.1nn0va.it/agenda.html
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Unit testing runner](https://github.com/segovoni/1nn0va-saturday-2023-sql-unit-testing-automation/actions/workflows/automated-tests.yml/badge.svg)](https://github.com/segovoni/1nn0va-saturday-2023-sql-unit-testing-automation/actions/workflows/automated-tests.yml)
# SQL Server unit testing with tSQLt, Docker and GitHub Actions
This repository contains the demos of the session "SQL Server unit testing with tSQLt, Docker and GitHub Actions" that I have done at the [1nn0va Saturday 2023](https://1nn0vasat2023.1nn0va.it/agenda.html) event!
## Run this sample
You can repeat the demo in your own GitHub repository by following the steps described in [this guide](https://github.com/microsoft/sql-server-samples/blob/master/samples/containers/unit-testing/tsqlt-docker/README.md) on [microsoft/sql-server-samples](https://github.com/microsoft/sql-server-samples).
## Summary
The unit tests developed to test SQL Server objects are not only intended to verify that the requirements have been met once, before release; the real game changer is represented by the possibility of repeating checks during the development of new code and bug fixing. The repeatability of tests provides the possibility of automating them, an essential condition for integrating automatic tests within a Continuous Integration platform. In this session, full of demos, we will describe how to automate the testing of one or more SQL Server objects using tSQLt, Docker, and GitHub Action!
Have fun with SQL Server, tSQLt, Docker and GitHub Actions!