Test in release mode #6204
Test in release mode #6204
Build #20250804.4 had test failures
Details
- Failed: 35 (0.08%)
- Passed: 40,813 (98.43%)
- Other: 618 (1.49%)
- Total: 41,466
- 177262 of 269337 blocks covered (65.81%)
- 120958 of 185775 lines covered (65.11%)
Annotations
azure-pipelines / microsoft.testfx
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L343
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(343,1): error :
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)
Performed invocations:
Mock<FileUtility:4> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
azure-pipelines / microsoft.testfx
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L397
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(397,1): error :
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\dependency.dll", null)
Performed invocations:
Mock<FileUtility:5> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
azure-pipelines / microsoft.testfx
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L343
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(343,1): error :
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)
Performed invocations:
Mock<FileUtility:4> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\MSTestAdapter.PlatformServices.UnitTests.dll")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
azure-pipelines / microsoft.testfx
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L397
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(397,1): error :
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out\dependency.dll", null)
Performed invocations:
Mock<FileUtility:5> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\MSTestAdapter.PlatformServices.UnitTests.dll")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
azure-pipelines / microsoft.testfx
MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)
Performed invocations:
Mock<FileUtility:4> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\MSTestAdapter.PlatformServices.UnitTests.dll")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 840
at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 343
azure-pipelines / microsoft.testfx
MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out\dependency.dll", null)
Performed invocations:
Mock<FileUtility:5> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\MSTestAdapter.PlatformServices.UnitTests.dll")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 840
at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 397
azure-pipelines / microsoft.testfx
MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)
Performed invocations:
Mock<FileUtility:4> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 841
at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 343
azure-pipelines / microsoft.testfx
MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\dependency.dll", null)
Performed invocations:
Mock<FileUtility:5> (fu):
FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
FileUtility.DoesDirectoryExist("c:\temp")
FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 841
at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 397