feat: implement After hooks execution on cancellation for tests and enhance hook tracking #12573
Annotations
1 error and 32 warnings
|
Run Pipeline
Process completed with exit code 1.
|
|
Upload Hang Dumps
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
|
|
Run Pipeline
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
|
Publish Single File:
TUnit.TestProject/NotInParallelExecutionTests.cs#L53
Dereference of a possibly null reference.
|
|
Publish Single File:
TUnit.TestProject/NotInParallelExecutionTests.cs#L28
Dereference of a possibly null reference.
|
|
Publish Single File:
TUnit.TestProject/SimpleGenericTests.cs#L13
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
|
|
Publish Single File:
TUnit.TestProject/SimpleGenericTests.cs#L26
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
|
|
Publish Single File:
TUnit.TestProject/SimpleGenericTests.cs#L42
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
|
|
Publish Single File:
TUnit.TestProject/SimpleGenericTests.cs#L59
Argument of type 'ValueAssertion<T2>' cannot be used for parameter 'source' of type 'IAssertionSource<T2?>' in 'NotEqualsAssertion<T2?> NotEqualsAssertionExtensions.IsNotEqualTo<T2?>(IAssertionSource<T2?> source, T2? notExpected, IEqualityComparer<T2?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
|
|
Publish Single File:
TUnit.TestProject/SimpleGenericTests.cs#L58
Argument of type 'ValueAssertion<T>' cannot be used for parameter 'source' of type 'IAssertionSource<T?>' in 'NotEqualsAssertion<T?> NotEqualsAssertionExtensions.IsNotEqualTo<T?>(IAssertionSource<T?> source, T? notExpected, IEqualityComparer<T?>? comparer = null, string? notExpectedExpression = null, string? comparerExpression = null)' due to differences in the nullability of reference types.
|
|
Publish Single File:
TUnit.TestProject/TestCountVerificationTests.cs#L6
Parameter 'value' is unread.
|
|
Publish Single File:
TUnit.TestProject/TransactionTest.cs#L11
Non-nullable field '_scope' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Publish Single File:
TUnit.TestProject/TimeoutCancellationTokenTests.cs#L104
Parameter 'value' is unread.
|
|
Publish AOT:
TUnit.Assertions.Analyzers/AnalyzerReleases.Shipped.md#L5
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '#### Assertion Usage Rules' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L42
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN003' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L33
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN002' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L24
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN001' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L736
Dereference of a possibly null reference.
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
|
|
Publish AOT:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
|
|
Build:
TUnit.Pipeline/Modules/UploadToNuGetModule.cs#L44
Possible null reference argument for parameter 'path' in 'DotNetNugetPushOptions.DotNetNugetPushOptions(string path)'.
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L24
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN001' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L42
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN003' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L33
Enable analyzer release tracking for the analyzer project containing rule 'TUNITGEN002' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L44
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L373
Converting null literal or possible null value to non-nullable type.
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L372
Converting null literal or possible null value to non-nullable type.
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L364
Converting null literal or possible null value to non-nullable type.
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/AssertionExtensionGenerator.cs#L363
Converting null literal or possible null value to non-nullable type.
|
|
Build:
TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L736
Dereference of a possibly null reference.
|
Loading