jstedfast / HtmlKit

A cross-platform .NET framework for parsing HTML
Other
81 stars 55 forks source link

Bump NUnit.Analyzers from 4.2.0 to 4.3.0 #29

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps NUnit.Analyzers from 4.2.0 to 4.3.0.

Release notes

Sourced from NUnit.Analyzers's releases.

NUnit Analyzers 4.3 - August 9, 2024

This release of the NUnit Analyzers contains some bug fixes to existing analyzers and code fixes - among other improvements to trivia when using the code fix of NUnit2049.

For new features we now warn against using TestContext.Write as this will be obsolete in NUnit at some point; NUnit1001 now recognises and check generic TestCase attributes; and we have added a new analyzer and code fix for simplifying usages of ValuesAttribute.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #770 Add rule to detect calls to TestContext.Write methods and CodeFix to replace usages with Out.Write
  • #767 Augment NUnit1001 to recognized and check generic TestCase attributes
  • #755 New diagnostic: The Values attribute can be simplified.

Bugs

  • #766 Error when TearDown method is defined in partial test classes - Syntax node is not within syntax tree
  • #743 NUnit1032 (missing Dispose), if dispose is wrapped in "(… as IDisposable)?.Dispose()"
  • #739 Null suppression does not work when Assert is fully qualified
  • #713 Code fix for NUnit2049 places the comma at a wrong place and messes up indentation bug

Tooling, Process, and Documentation

  • #764 Update the solution file
  • #761 Update nunit.analyzers.nuspec to specify that NUnit.Analyzers v4 is intended to be used with NUnit 4.
  • #756 error NUnit1032 is incorrect when InstancePerTestCase and constructor is used to initialize IDisposible
  • #741 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /src
  • #737 Update NUnit2013.md to fix code block
  • #736 chore: bump version
  • #734 Why dropping composite message formatting support also for Assert.Pass/Fail/... where there are no actual and constraint parameters?
Changelog

Sourced from NUnit.Analyzers's changelog.

# NUnit Analyzers 4.3 - August 9, 2024

This release of the NUnit Analyzers contains some bug fixes to existing analyzers and code fixes - among other improvements to trivia when using the code fix of NUnit2049.

For new features we now warn against using TestContext.Write as this will be obsolete in NUnit at some point; NUnit1001 now recognises and check generic TestCase attributes; and we have added a new analyzer and code fix for simplifying usages of ValuesAttribute.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #770 Add rule to detect calls to TestContext.Write methods and CodeFix to replace usages with Out.Write
  • #767 Augment NUnit1001 to recognized and check generic TestCase attributes
  • #755 New diagnostic: The Values attribute can be simplified.

Bugs

  • #766 Error when TearDown method is defined in partial test classes - Syntax node is not within syntax tree
  • #743 NUnit1032 (missing Dispose), if dispose is wrapped in "(… as IDisposable)?.Dispose()"
  • #739 Null suppression does not work when Assert is fully qualified
  • #713 Code fix for NUnit2049 places the comma at a wrong place and messes up indentation bug

Tooling, Process, and Documentation

  • #764 Update the solution file
  • #761 Update nunit.analyzers.nuspec to specify that NUnit.Analyzers v4 is intended to be used with NUnit 4.
  • #756 error NUnit1032 is incorrect when InstancePerTestCase and constructor is used to initialize IDisposible
  • #741 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /src
  • #737 Update NUnit2013.md to fix code block
  • #736 chore: bump version
  • #734 Why dropping composite message formatting support also for Assert.Pass/Fail/... where there are no actual and constraint parameters?

NUnit Analyzers 4.2 - April 24, 2024

This release of the Analyzers extends NUnit2050 to also cover Assume and Nunit1032 to consider dispose of a type having explicit interface implementation. Furthermore, named parameters are now handled correctly codefixes for classical asserts, and NUnit2010 improves the logic for determining Equals methods.

... (truncated)

Commits
  • 52a0670 Merge pull request #775 from nunit/release4.3
  • cf27270 chore: Update release notes
  • b59c564 Merge pull request #772 from manfred-brands/Issue770_TestContext.Write
  • bf26b78 Fix linting error
  • 9501ab8 Code review changes
  • a00035e Merge pull request #773 from manfred-brands/Issue767_GenericTestCase
  • ab3d365 Merge pull request #754 from Bartleby2718/713-NUnit2049-indentation
  • 48bf08f Merge pull request #774 from manfred-brands/Issue766_PartialTestClasses
  • 7c96200 Field is only needed for NUNIT4 tests
  • f017e6d C#11 is not available for .NET6.0
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)