зеркало из https://github.com/github/VisualStudio.git
Excluding code coverage flakes
This commit is contained in:
Родитель
95f65aa32a
Коммит
f2dba0ccc3
|
@ -34,7 +34,7 @@ $testAssemblies = @(
|
||||||
"test\TrackingCollectionTests\bin\$Configuration\TrackingCollectionTests.dll"
|
"test\TrackingCollectionTests\bin\$Configuration\TrackingCollectionTests.dll"
|
||||||
)
|
)
|
||||||
|
|
||||||
$opencoverTargetArgs = ($testAssemblies -join " ") + " --where cat!=Timings --inprocess --noresult"
|
$opencoverTargetArgs = ($testAssemblies -join " ") + " --where cat!=Timings --where cat!=CodeCoverageFlake --inprocess --noresult"
|
||||||
|
|
||||||
$opencoverDirectory = Join-Path $rootDirectory packages\OpenCover.4.6.519\tools
|
$opencoverDirectory = Join-Path $rootDirectory packages\OpenCover.4.6.519\tools
|
||||||
$opencover = Join-Path $opencoverDirectory OpenCover.Console.exe
|
$opencover = Join-Path $opencoverDirectory OpenCover.Console.exe
|
||||||
|
@ -57,7 +57,7 @@ $codecovArgs = "-f `"coverage.xml`""
|
||||||
|
|
||||||
Run-Process 600 $opencover $opencoverArgs
|
Run-Process 600 $opencover $opencoverArgs
|
||||||
|
|
||||||
if($AppVeyor) {
|
if ($AppVeyor) {
|
||||||
Run-Process 60 $codecov $codecovArgs
|
Run-Process 60 $codecov $codecovArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -447,7 +447,7 @@ Line 4";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test, NUnit.Framework.Category("CodeCoverageFlake")]
|
||||||
public async Task UpdatesInlineCommentThreadsFromEditorContent()
|
public async Task UpdatesInlineCommentThreadsFromEditorContent()
|
||||||
{
|
{
|
||||||
var baseContents = @"Line 1
|
var baseContents = @"Line 1
|
||||||
|
|
Загрузка…
Ссылка в новой задаче