Public Repository

Last pushed: 3 months ago
Short Description
Base WebAPI/SQL Server test image.
Full Description

WebAPI Tester

Use this image as a base to execute Newman (Postman) and tSQLt unit tests.

See Example for sample derived image source. All files in the build root directory will be copied into the image.

  • *-collection.json files will be executed by Newman.
  • *Tests.sql files will be executed as tSQLt tests.

Sample compose file:

services:
  webapi:
    depends_on:
     - db

  dbworker:
    environment:
     - DB_CONNECTION_STRING=data source=db;initial catalog=EnterpriseAudit;user=sa;password=Password123
    depends_on:
     - db

  db:
    build: ./EnterpriseAuditDb

  sut:
    build: ./CITest
    environment:
     - DB_HOST=db
     - DB_NAME=EnterpriseAudit
     - SA_PASSWORD=Password123
    depends_on:
     - webapi
     - dbworker
Docker Pull Command
Owner
sentara

Comments (0)