.NET Core SDK image with chrome webdriver to run integrated tests with selenium
535
.NET Core SDK image with chrome webdriver to run integrated tests with selenium
Snippet of a gitlab-ci sample:
integrated_test:
stage: tests
tags:
- docker
only:
- branches
image: joinville/dotnetcore-with-webdriver:2.1-sdk-jessie
script:
- dotnet run -p src/MyProject/MyProject.csproj > /tmp/dotnet.log & sleep 30s
- dotnet test test/MyProject.Integrated.csproj
Should execute something like this in the project folder
docker run -it -v $PWD:/app joinville/dotnetcore-with-webdriver:2.1-sdk-jessie /bin/bash -e -c "
dotnet run -p src/MyProject/MyProject.csproj > /tmp/dotnet.log & sleep 30s;
dotnet test test/MyProject.Integrated.csproj
exit 0;"
Content type
Image
Digest
Size
820.6 MB
Last updated
about 8 years ago
docker pull joinville/dotnetcore-with-webdriver:2.1-sdk-jessie