Skip to content

Commit

Permalink
💹 Show info logging for report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JSkimming committed May 6, 2019
1 parent d899eb9 commit 3e71a43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions coverage.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@
::@echo %xunit_exe%

@SET results_path=%~dp0test\TestResults
@SET test_assemblies=%~dp0test\Tesla.NET.Tests\bin\%config%\net47\Tesla.NET.Tests.dll
::@SET test_assemblies=%test_assemblies% %~dp0test\More.Tests\bin\%config%\net47\More.Tests.dll
@SET test_assemblies=%~dp0test\Tesla.NET.Tests\bin\%config%\net472\Tesla.NET.Tests.dll
::@SET test_assemblies=%test_assemblies% %~dp0test\More.Tests\bin\%config%\net472\More.Tests.dll
@SET xunit_results=%results_path%\Xunit.Tests.html
@SET coverage_filter=+[Tesla.NET*]* -[*.Tests]*
@SET coverage_results=%results_path%\Test.Coverage.xml

@IF NOT EXIST "%results_path%" MD "%results_path%"

@echo dotnet build --configuration %config% "%~dp0test\Tesla.NET.Tests\Tesla.NET.Tests.csproj"
@dotnet build --configuration %config% "%~dp0test\Tesla.NET.Tests\Tesla.NET.Tests.csproj"
@echo dotnet build --framework net472 --configuration %config% "%~dp0test\Tesla.NET.Tests\Tesla.NET.Tests.csproj"
@dotnet build --framework net472 --configuration %config% "%~dp0test\Tesla.NET.Tests\Tesla.NET.Tests.csproj"
@IF ERRORLEVEL 1 (
echo Error building the test project
EXIT /B 2
Expand All @@ -70,5 +70,5 @@
EXIT /B 2
)

@echo "%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html
@"%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html
@echo "%report_exe%" -verbosity:Info "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html
@"%report_exe%" -verbosity:Info "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html

0 comments on commit 3e71a43

Please sign in to comment.