Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump NUnit.Analyzers from 4.2.0 to 4.3.0 in /src #389

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2024

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 <dependency name> 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)

Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md)
- [Commits](nunit/nunit.analyzers@4.2.0...4.3.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@bdovaz bdovaz merged commit 3c2ac9d into master Aug 12, 2024
3 checks passed
@bdovaz bdovaz deleted the dependabot/nuget/src/master/NUnit.Analyzers-4.3.0 branch August 12, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant