-
Install Microsoft Visual Studio 2017: https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes
-
Add
msbuild.exe
path toPATH
enviroment variable (Path according your local installation). Example:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin
- Add
vstest.console.exe
path toPATH
enviroment variable (Path according your local installation). Example:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow
- Install dependencies executing next command:
./nuget.exe restore AllureDockerCSharpExample.sln -Verbosity Detailed -NonInteractive
- Build project executing next command:
msbuild.exe AllureDockerCSharpExample.sln
Execute Allure Docker Service from this directory
docker-compose up -d allure allure-ui
-
Verify if Allure API is working. Go to -> http://localhost:5050/allure-docker-service/latest-report
-
Verify if Allure UI is working. Go to -> http://localhost:5252/allure-docker-service-ui/
Each time you run tests, the Allure report will be updated.
Execute tests:
vstest.console.exe AllureDockerCSharpExample/bin/Debug/AllureDockerCSharpExample.dll /TestCaseFilter:"allure"
See documentation here: