Run unit and integration tests from VS

This commit is contained in:
Miguel Veloso 2019-11-18 18:38:35 +00:00
parent 4b48468d6a
commit 3adb63aba5
6 changed files with 31 additions and 30 deletions

View File

@ -2,7 +2,7 @@ param (
[string]$solution = "eShopOnContainers-ServicesAndWebApps.sln"
)
$outfile = "DockerfileSolutionProjects.txt"
$outfile = "DockerfileSolutionRestore.txt"
Write-Output "COPY ""$solution"" ""$solution""" > $outfile

View File

@ -1,18 +1,18 @@
version: '3.4'
services:
rabbitmq-test:
image: rabbitmq:3-management-alpine
basket-data-test:
image: redis:alpine
sql-data-test:
image: microsoft/mssql-server-linux:2017-latest
nosql-data-test:
image: mongo
basket-data-test:
image: redis:alpine
rabbitmq-test:
image: rabbitmq:3-management-alpine
identity-api-test:
image: ${REGISTRY:-eshop}/identity-api-test:${TAG:-latest}
build:

View File

@ -0,0 +1 @@
docker-compose -f .\docker-compose-tests.yml -f .\docker-compose-tests.override.yml up sql-data-test nosql-data-test basket-data-test rabbitmq-test identity-api-test payment-api-test