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(deps): update dependency nunit.analyzers to v4 #27

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
NUnit.Analyzers 3.9.0 -> 4.3.0 age adoption passing confidence

Release Notes

nunit/nunit.analyzers (NUnit.Analyzers)

v4.3.0: NUnit Analyzers 4.3 - August 9, 2024

Compare Source

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?

v4.2.0: NUnit Analyzers 4.2 - April 24, 2024

Compare Source

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.

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

Issues Resolved

Features and Enhancements

  • #​731 Add test for wrapping conditional expression in parenthesis for NUnit2050
  • #​720 Replace UpdateStringFormatToFormattableString with String.Format
  • #​719 NUnit2050 should cover Assume
  • #​710 Nunit1032 - consider dispose of a type having explicit interface implementation

Bugs

  • #​728 NUnit2010 - do not consider Equals call if it doesn't override Object.Equals
  • #​712 [bug] Code fix for NUnit2005 does not correctly fix Assert.AreEqual if named parameters are used in unexpected order

Tooling, Process, and Documentation

  • #​733 Missing full stops added to NUnit2050
  • #​722 Use Markdown for CHANGES
  • #​708 chore: bump-version

v4.1.0: NUnit Analyzers 4.1 - March 16, 2024

Compare Source

NUnit Analyzers 4.1 - March 16, 2024

This release of the Analyzers extends the suppression of nullable warnings to also respect assumptions -
expressed via Assume.That. Also nullable warnings are suppressed even in the context of the
null-forgiving operator !, and NUnit2010 is extended to also cover is pattern expressions - e.g.
is null and more general integer patterns as is < 0 or >= 1.

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

Issues Resolved

Features and Enhancements

  • #​693 Possibly Null Reference Warning should be suppressed for Assume
  • #​691 Extent rule NUnit2010 to detect 'is null'
  • #​679 Null suppression doesn't work when the body has a null suppression

Bugs

  • #​700 CodeFix for Assert with null message causes ambiguous code.
  • #​689 Incorrect constraint model transformation for named parameters

Tooling, Process, and Documentation

  • #​697 chore: Bump NUnit to version 4.1.0
  • #​694 Switch to using license expression
  • #​690 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0
  • #​687 chore: Update release notes

v4.0.1: NUnit Analyzers 4.0.1 - February 1, 2024

Compare Source

NUnit Analyzers 4.0.1 - February 1, 2024

Small release that fixes a problem with the 4.0 release when combining TestCaseSource and CancelAfter.

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

Issues Resolved

Bugs

  • #​685 error NUnit1029: The TestCaseSource provides '1' parameter(s), but the Test method expects '1' parameter(s)

Tooling, Process, and Documentation

v4.0.0: NUnit Analyzers 4.0

Compare Source

NUnit Analyzers 4.0 - January 27, 2024

Version 4 of the NUnit analyzers drops the support for older releases of Visual Studio. I.e.
releases of Visual Studio that are older than Visual Studio 2019 16.3. In addition, this release
contains various bug fixes to existing analyzers, support of the CancelAfterAttribute
that was introduced in NUnit 4, and extends the codefix for NUnit2007 to also work when
.Within is used.

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

Issues Resolved

Features and Enhancements

  • #​669 NUnit2007 does not provide codefix when .Within is used
  • #​609 Drop support for VS before 2019

Bugs

  • #​663 NUnit1027 fired when CancellationToken and [CancelAfter] is given
  • #​659 NUnit1032 throws an exception in a specific configuration
  • #​656 NUnit1028 warns about overridden methods
  • #​635 ArgumentException in DisposeFieldsAndPropertiesInTearDownAnalyzer

Tooling, Process, and Documentation

  • #​676 chore: markdownlint-cli2-config is removed use flag instead
  • #​668 chore(deps): Bump StyleCop.Analyzers.Unstable from 1.2.0.507 to 1.2.0.556
  • #​662 chore: Bump NUnit 4 to version 4.0.1
  • #​660 chore: Bump to NUnit 4
  • #​654 chore: Bump version
  • #​630 Update NUnit Analyzer docs to respect 120-character docs rule documentation
  • #​508 Restore "File version" and "Product version" in analyzer dlls

v3.10.0: NUnit Analyzers 3.10 (and 2.10)

Compare Source

NUnit Analyzers 3.10 (and 2.10) - November 27, 2023

This release adds a couple of improvements to the analyzers:

  • Check that users don't accidentally specify CallerArgumentExpression parameters
  • Relax analyzers for added support for IAsyncEnumerable on *Source attributes

These improvements extend the functionality in the beta that added support for NUnit 4 and
for migrating to NUnit 4. Especially, the handling of the movement of classic asserts into a new namespace
NUnit.Framework.Legacy and of the improved assert result messages - for more information see
https://docs.nunit.org/articles/nunit/Towards-NUnit4.html. The analyzers can help updating the
classic assert and fix the assert messages.

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

Issues Resolved

Features and Enhancements

  • #​639 Rule to check users don't accidentally specify CallerArgumentExpression parameters
  • #​634 Relax analyzers for added support for IAsyncEnumerable on *Source attributes

Tooling, Process, and Documentation

  • #​648 chore: Skip branch builds on PRs
  • #​644 chore: Update release notes for 3.10 beta
  • #​429 Drop the VSIX project

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/nunit.analyzers-4.x branch from 54347d9 to def9644 Compare February 2, 2024 00:30
@renovate renovate bot force-pushed the renovate/nunit.analyzers-4.x branch from def9644 to 3597351 Compare March 16, 2024 18:31
@renovate renovate bot force-pushed the renovate/nunit.analyzers-4.x branch from 3597351 to 7e8ad10 Compare April 25, 2024 01:15
@renovate renovate bot force-pushed the renovate/nunit.analyzers-4.x branch from 7e8ad10 to 8b28aa3 Compare August 9, 2024 14:26
@renovate renovate bot force-pushed the renovate/nunit.analyzers-4.x branch 2 times, most recently from 3e6fdb6 to b47c5d7 Compare September 11, 2024 15:25
@renovate renovate bot force-pushed the renovate/nunit.analyzers-4.x branch from b47c5d7 to 213d9ff Compare September 11, 2024 15:26
@flavio flavio merged commit a15c91c into main Sep 11, 2024
5 checks passed
@renovate renovate bot deleted the renovate/nunit.analyzers-4.x branch September 11, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant