Sign inSign up

joinville/dotnetcore-with-webdriver

By joinville

•Updated about 8 years ago

.NET Core SDK image with chrome webdriver to run integrated tests with selenium

Image
0

535

joinville/dotnetcore-with-webdriver repository overview

⁠dotnetcore-with-webdriver

.NET Core SDK image with chrome webdriver to run integrated tests with selenium

⁠How to use with CI

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

⁠How to use with docker

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;"

Tag summary

Content type

Image

Digest

Size

820.6 MB

Last updated

about 8 years ago

docker pull joinville/dotnetcore-with-webdriver:2.1-sdk-jessie