Don't use '[ExpectedException]' in MVVM tests #59
Annotations
3 errors and 20 warnings
|
build-and-test (Release)
Process completed with exit code 1.
|
|
build-and-test (Debug)
The strategy configuration was canceled because "build-and-test.Release" failed
|
|
build-and-test (Debug)
The operation was canceled.
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L127
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L113
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L106
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L93
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L79
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L72
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L59
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L46
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L33
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Release):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L20
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L127
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L113
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L106
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L93
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L79
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L72
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L59
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L46
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L33
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
|
build-and-test (Debug):
tests/CommunityToolkit.Diagnostics.UnitTests/Test_Guard.Array.cs#L20
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
msbuild_log_Debug
Expired
|
4.18 MB |
sha256:842a88905c9d6344233a69e8f2769dec268953a863bb4afb824367a18cc470d0
|
|
|
msbuild_log_Release
Expired
|
4.17 MB |
sha256:988a9baae4640c302ba092a585f765b488c8be1e44ae92d276a42ea8a01bb25f
|
|