NUnit v3.8 Release Notes

Release Date: 2017-08-28 // over 6 years ago
  • ๐Ÿš€ This release removes several methods and attributes that were marked obsolete in the
    ๐Ÿš€ original 3.0 release. Support for iOS and Android has been improved.

    โœ… An issue that caused unit tests to run slower was addressed as was a bug that prevented
    the use of Assert.Multiple in async code.

    The Order attribute can now also be applied to the class level to set the order
    โœ… that test fixtures will be run.

    Issues Resolved

    • 345 Order of Fixture Execution
    • 1151 Include differences in output for Is.EquivalentTo
    • ๐Ÿšš 1324 Remove CollectionContainsConstraint
    • โœ… 1670 Attaching files to the test result
    • 1674 InRange-Constraint must work with object
    • โœ… 1851 TestCaseSource unable to pass one element byte array
    • โฑ 1996 Timeout does not work if native code is running at the time
    • 2004 Has.One as synonym for Has.Exactly(1).Items
    • โœ… 2062 TestCaseSource attribute causes test to pass when source is not defined
    • 2144 Allow option on RandomAttribute to produce distinct values
    • โœ… 2179 Some NUnit project's tests fail on systems with CultureInfo other than en
    • 2195 Contains.Substring with custom StringComparison
    • 2196 Expose ParallelizableAttribute (and other attribute) constructor arguments as properties
    • โœ… 2201 Invalid platform name passed to PlatformAttribute should mark test NotRunnable
    • 2208 StackFIlter trims leading spaces from each line
    • 0๏ธโƒฃ 2213 SetCultureAttribute: CultureInfo ctor should use default culture settings
    • ๐ŸŽ 2217 Console runner performance varies wildly depending on environmental characteristics
    • ๐Ÿšš 2219 Remove Obsolete Attributes
    • 2225 OneTimeTearDown and Dispose Ordering
    • 2237 System.Runtime.Loader not available for iOS/Android
    • โœ… 2242 Running tests directly should never surface a NullReferenceException
    • 0๏ธโƒฃ 2244 Add KeyValuePair<TKey, TValue> to the default formatters
    • 2251 Randomizer.NextGuid()
    • โœ… 2253 Parallelizable(ParallelScope.Fixtures) doesn't work on a TestFixture
    • 2254 EqualTo on ValueTuple with Nullable unexpected
    • โœ… 2261 When an assembly is marked with ParallelScope.None and there are Parallelizable tests Nunit hangs
    • 2269 Parallelizable and NonParallelizable attributes on setup and teardown silently ignored
    • โœ… 2276 Intermittent test failures in Travic CI: TestContextTests
    • ๐Ÿ‘ป 2281 Add type constraint for Throws and any method requiring Exception
    • โœ… 2288 Killing thread cancels test run
    • 2292 Is.Ordered.By() with a field throws NullReferenceException
    • โœ… 2298 Write TestParametersDictionary to xml result file in readable format
    • ๐Ÿ“ฆ 2299 NUnitLite NuGet package no longer installs NUnit NuGet package
    • โช 2304 Revert accidental doc removal
    • ๐Ÿ–จ 2305 Correct misprint ".con" -> ".com"
    • ๐Ÿ“œ 2312 Prevent crash on invalid --result parsing in NUnitLite
    • 2313 Incorrect xmldoc on RetryAttribute
    • โšก๏ธ 2332 Update build script to use NUnitConsoleRunner v3.7.0
    • 2335 Execute OneTimeTearDown as early as possible when running fixtures in parallel
    • ๐Ÿšš 2342 Remove deprecated Is.String* Constraints
    • 2348 Can't use Assert.Multiple with async code
    • โœ… 2353 Provide additional Result information through TestContext
    • ๐Ÿ— 2358 Get framework to build under Mono 5.0
    • 2360 Obsolete CollectionContainsConstraint Constructors
    • โœ… 2361 NUnit Parallelizable and OneTimeSetUp with no namespace results in single-threaded test execution
    • โœ… 2370 TestCaseAttribute can't convert int to nullable long