Skip to content

Added NUnit.Analyzers to prepare for NUnit 4.0 migration #868

Added NUnit.Analyzers to prepare for NUnit 4.0 migration

Added NUnit.Analyzers to prepare for NUnit 4.0 migration #868

Triggered via push December 9, 2023 17:29
Status Success
Total duration 3m 36s
Artifacts 5

main.yml

on: push
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 81 warnings
ci (ubuntu-latest, Release)
Process completed with exit code 1.
ci (ubuntu-latest, Release): UnitTests/Net/Imap/ImapCommandTests.cs#L37
The field Engine should be Disposed in a method annotated with
ci (ubuntu-latest, Release): UnitTests/Net/Imap/ImapUtilsTests.cs#L37
The field engine should be Disposed in a method annotated with
ci (ubuntu-latest, Debug): UnitTests/Net/Imap/ImapCommandTests.cs#L37
The field Engine should be Disposed in a method annotated with
ci (ubuntu-latest, Debug): UnitTests/Net/Imap/ImapUtilsTests.cs#L37
The field engine should be Disposed in a method annotated with
ci (ubuntu-latest, Debug)
Process completed with exit code 1.
ci (windows-latest, Debug)
Process completed with exit code 1.
ci (windows-latest, Debug): UnitTests/Net/Imap/ImapCommandTests.cs#L37
The field Engine should be Disposed in a method annotated with
ci (windows-latest, Debug): UnitTests/Net/Imap/ImapUtilsTests.cs#L37
The field engine should be Disposed in a method annotated with
ci (windows-latest, Release): UnitTests/Net/Imap/ImapCommandTests.cs#L37
The field Engine should be Disposed in a method annotated with
ci (windows-latest, Release): UnitTests/Net/Imap/ImapUtilsTests.cs#L37
The field engine should be Disposed in a method annotated with
ci (windows-latest, Release)
Process completed with exit code 1.
ci (ubuntu-latest, Release): UnitTests/Net/Smtp/SmtpClientTests.cs#L2353
The variable 'ax' is declared but never used
ci (ubuntu-latest, Release): UnitTests/Net/Smtp/SmtpClientTests.cs#L2415
The variable 'ax' is declared but never used
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L58
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L59
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L60
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L39
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L48
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L49
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L69
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release): UnitTests/UriExtensionTests.cs#L70
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug): UnitTests/Net/Smtp/SmtpClientTests.cs#L2353
The variable 'ax' is declared but never used
ci (ubuntu-latest, Debug): UnitTests/Net/Smtp/SmtpClientTests.cs#L2415
The variable 'ax' is declared but never used
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L48
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L49
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L39
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L58
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L59
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L60
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L69
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug): UnitTests/UriExtensionTests.cs#L70
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug): UnitTests/Net/Smtp/SmtpClientTests.cs#L2353
The variable 'ax' is declared but never used
ci (windows-latest, Debug): UnitTests/Net/Smtp/SmtpClientTests.cs#L2415
The variable 'ax' is declared but never used
ci (windows-latest, Debug): UnitTests/AccessControlListTests.cs#L73
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AccessControlListTests.cs#L75
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AnnotationAttributeTests.cs#L70
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AnnotationAttributeTests.cs#L50
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AnnotationAttributeTests.cs#L51
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AnnotationAttributeTests.cs#L52
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AnnotationAttributeTests.cs#L55
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug): UnitTests/AnnotationAttributeTests.cs#L56
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release): UnitTests/Net/Smtp/SmtpClientTests.cs#L2353
The variable 'ax' is declared but never used
ci (windows-latest, Release): UnitTests/Net/Smtp/SmtpClientTests.cs#L2415
The variable 'ax' is declared but never used
ci (windows-latest, Release): UnitTests/UriExtensionTests.cs#L69
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/UriExtensionTests.cs#L70
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/UriExtensionTests.cs#L71
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/AccessControlListTests.cs#L73
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/AccessControlListTests.cs#L75
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/AccessControlListTests.cs#L88
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/AccessControlListTests.cs#L90
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release): UnitTests/AccessControlListTests.cs#L93
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, ClassicAssert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (windows-latest, Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
MailKit.4.3.0.868-ubuntu-latest-Debug-TestResults.xml Expired
1.09 KB
MailKit.4.3.0.868-ubuntu-latest-Release-TestResults.xml Expired
1.1 KB
MailKit.4.3.0.868-windows-latest-Debug-TestResults.xml Expired
1.07 KB
MailKit.4.3.0.868-windows-latest-Release-TestResults.xml Expired
1.08 KB
MailKit.4.3.0.868.nupkg Expired
5.29 MB