From 3e71a436609df8b8c0db8d47eef5ba712043a008 Mon Sep 17 00:00:00 2001 From: James Skimming Date: Mon, 6 May 2019 22:57:13 +0100 Subject: [PATCH] :chart: Show info logging for report generation --- coverage.cmd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/coverage.cmd b/coverage.cmd index d6e0a56..f772f7d 100644 --- a/coverage.cmd +++ b/coverage.cmd @@ -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 @@ -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