From 22aa8dc7788477b0cdb3b66efa98f47daafef22c Mon Sep 17 00:00:00 2001 From: Thomas Broust Date: Tue, 7 Oct 2014 13:55:35 +0200 Subject: [PATCH] Ignores a few things during coverage in hope of reducing the time Former-commit-id: ab6c98eedc9294130436ac38b3c8a74529d23b9a Former-commit-id: 92d243f3512014ec90e315be8d285896bffdc3ef --- build/build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.ps1 b/build/build.ps1 index 65956529e..e4c74bbe3 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -152,8 +152,8 @@ task Run-Coverage -depends Build-Tests { $CoverageOutputPath = Join-Path $TEST_RESULTS "$($_)_Coverage.xml" Write-Host "Running code coverage on project $_" - $coverageFilter = "-filter:+[*]* -[FluentAssertions*]* -[*]Common.Exceptions -[ImageProcessor.UnitTests]* -[ImageProcessor.Web.UnitTests]*" - & $OPENCOVER_EXE -register:user -target:$NUNIT_EXE -targetargs:"$TestDdlPath /noshadow /nologo" -targetdir:$TestDllFolder -output:$CoverageOutputPath + $coverageFilter = "-filter:+[*]* -[FluentAssertions*]* -[ImageProcessor]*Common.Exceptions -[ImageProcessor]*ImageFactory -[ImageProcessor.UnitTests]* -[ImageProcessor.Web.UnitTests]*" + & $OPENCOVER_EXE -register:user -target:$NUNIT_EXE -targetargs:"$TestDdlPath /noshadow /nologo" -targetdir:$TestDllFolder -output:$CoverageOutputPath $coverageFilter Write-Host "Transforming coverage results file to HTML" & $REPORTGEN_EXE -reports:$CoverageOutputPath -targetdir:(Join-Path $TEST_RESULTS "Coverage\$_")