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"
|
[string]$solution = "eShopOnContainers-ServicesAndWebApps.sln"
|
||||||
)
|
)
|
||||||
|
|
||||||
$outfile = "DockerfileSolutionProjects.txt"
|
$outfile = "DockerfileSolutionRestore.txt"
|
||||||
|
|
||||||
Write-Output "COPY ""$solution"" ""$solution""" > $outfile
|
Write-Output "COPY ""$solution"" ""$solution""" > $outfile
|
||||||
|
|
@ -1,18 +1,18 @@
|
|||||||
version: '3.4'
|
version: '3.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
rabbitmq-test:
|
|
||||||
image: rabbitmq:3-management-alpine
|
|
||||||
|
|
||||||
basket-data-test:
|
|
||||||
image: redis:alpine
|
|
||||||
|
|
||||||
sql-data-test:
|
sql-data-test:
|
||||||
image: microsoft/mssql-server-linux:2017-latest
|
image: microsoft/mssql-server-linux:2017-latest
|
||||||
|
|
||||||
nosql-data-test:
|
nosql-data-test:
|
||||||
image: mongo
|
image: mongo
|
||||||
|
|
||||||
|
basket-data-test:
|
||||||
|
image: redis:alpine
|
||||||
|
|
||||||
|
rabbitmq-test:
|
||||||
|
image: rabbitmq:3-management-alpine
|
||||||
|
|
||||||
identity-api-test:
|
identity-api-test:
|
||||||
image: ${REGISTRY:-eshop}/identity-api-test:${TAG:-latest}
|
image: ${REGISTRY:-eshop}/identity-api-test:${TAG:-latest}
|
||||||
build:
|
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