|
1 |
| -# NUnit Analyzers 4.2 - April 24, 2024 |
| 1 | +# NUnit Analyzers 4.3 - August 9, 2024 |
| 2 | + |
| 3 | +This release of the NUnit Analyzers contains some bug fixes to existing analyzers and code fixes - among other |
| 4 | +improvements to trivia when using the code fix of NUnit2049. |
| 5 | + |
| 6 | +For new features we now warn against using `TestContext.Write` as this will be obsolete in NUnit at some point; |
| 7 | +NUnit1001 now recognises and check generic TestCase attributes; and we have added a new analyzer and code fix for |
| 8 | +simplifying usages of `ValuesAttribute`. |
| 9 | + |
| 10 | +The release contains contributions from the following users (in alphabetical order): |
| 11 | +* @andrewimcclement |
| 12 | +* @Bartleby2718 |
| 13 | +* @DrPepperBianco |
| 14 | +* @KaiBNET |
| 15 | +* @maettu-this |
| 16 | +* @manfred-brands |
| 17 | +* @mikkelbu |
| 18 | +* @RenderMichael |
| 19 | +* @SeanKilleen |
| 20 | +* @trampster |
| 21 | + |
| 22 | +Issues Resolved |
| 23 | + |
| 24 | +Features and Enhancements |
| 25 | +* #770 Add rule to detect calls to TestContext.Write methods and CodeFix to replace usages with Out.Write |
| 26 | +* #767 Augment NUnit1001 to recognized and check generic TestCase attributes |
| 27 | +* #755 New diagnostic: The Values attribute can be simplified. |
| 28 | + |
| 29 | +Bugs |
| 30 | +* #766 Error when TearDown method is defined in partial test classes - Syntax node is not within syntax tree |
| 31 | +* #743 NUnit1032 (missing Dispose), if dispose is wrapped in "(… as IDisposable)?.Dispose()" |
| 32 | +* #739 Null suppression does not work when Assert is fully qualified |
| 33 | +* #713 Code fix for NUnit2049 places the comma at a wrong place and messes up indentation bug |
| 34 | + |
| 35 | +Tooling, Process, and Documentation |
| 36 | +* #764 Update the solution file |
| 37 | +* #761 Update nunit.analyzers.nuspec to specify that NUnit.Analyzers v4 is intended to be used with NUnit 4. |
| 38 | +* #756 error NUnit1032 is incorrect when InstancePerTestCase and constructor is used to initialize IDisposible |
| 39 | +* #741 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /src |
| 40 | +* #737 Update NUnit2013.md to fix code block |
| 41 | +* #736 chore: bump version |
| 42 | +* #734 Why dropping composite message formatting support also for Assert.Pass/Fail/... where there are no actual and constraint parameters? |
| 43 | + |
| 44 | + |
| 45 | +# NUnit Analyzers 4.2 - April 24, 2024 |
2 | 46 |
|
3 | 47 | This release of the Analyzers extends NUnit2050 to also cover `Assume` and Nunit1032 to consider dispose of a type
|
4 | 48 | having explicit interface implementation. Furthermore, named parameters are now handled correctly codefixes for
|
|
0 commit comments