Skip to content

Latest commit

 

History

History

AllureDockerCSharpExample

C# DEMO PROJECT USING ALLURE

INSTALLATION

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin
  • Add vstest.console.exe path to PATH 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

USAGE

Execute Allure Docker Service from this directory

docker-compose up -d allure allure-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: