Run unit and integration tests from VS
This commit is contained in:
parent
4b48468d6a
commit
3adb63aba5
@ -2,7 +2,7 @@ param (
|
||||
[string]$solution = "eShopOnContainers-ServicesAndWebApps.sln"
|
||||
)
|
||||
|
||||
$outfile = "DockerfileSolutionProjects.txt"
|
||||
$outfile = "DockerfileSolutionRestore.txt"
|
||||
|
||||
Write-Output "COPY ""$solution"" ""$solution""" > $outfile
|
||||
|
@ -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:
|
||||
|
1
src/run-test-infrastructure.ps1
Normal file
1
src/run-test-infrastructure.ps1
Normal 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
|
Loading…
x
Reference in New Issue
Block a user