Migrate NUnit assertions to the constraint model in preparation of the NUnit 4 upgrade #1032
Annotations
7 errors
src/TestHarness/R.cs#L103
The TestCaseSource provides type 'NUnit.Framework.Interfaces.ITestCaseData', but the Test method expects type 'string' for parameter 'testName' (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit1030.md)
|
src/Tests/SynchronizedStorage/ServiceFabricStorageSessionTests.cs#L115
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)
|
src/Tests/SynchronizedStorage/ServiceFabricStorageSessionTests.cs#L37
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)
|
src/TestHarness/R.cs#L103
The TestCaseSource provides type 'NUnit.Framework.Interfaces.ITestCaseData', but the Test method expects type 'string' for parameter 'testName' (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit1030.md)
|
src/Tests/SynchronizedStorage/ServiceFabricStorageSessionTests.cs#L115
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)
|
src/Tests/SynchronizedStorage/ServiceFabricStorageSessionTests.cs#L37
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)
|
|
This job failed
Loading