Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1 KB

CONTRIBUTING.md

File metadata and controls

34 lines (22 loc) · 1 KB

CONTRIBUTING

🚧 a work in progress

ToDo:

  1. Document Folder Structure
  2. Document Release Manifest

System Requirements

  • Docker (Running in Linux container mode)
  • SQL Server Management Studio / Azure Data Studio / or preferred TSQL tool

Docker Images:

Should install automatically when you run compose up

  • SQL Server Linux: image: mcr.microsoft.com/mssql/server
  • Utility Tool: aletasystems/tsqlrunner aletasystems.images.tsqlrunner
  • Build Tool: flyway/flyway

Quick Start

  1. Start the container docker-compose -f "docker-compose.yml" up -d --build
  2. Connect to the SQL server container using localhost,14333 , sa , the password is in the .env file
  3. Run all tSQLt tests cases by running EXEC tSQLt.RunAll

Development CheckList

  1. ✔ - T-SQL scripts should be idempotent
  2. ✔ - Test cases must run successfully
  3. ✔ - Build must run successfully
  4. ✔ - Update release_manifest.csv if needed