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

Update dependency NUnit.Analyzers to v3.7.0 #39

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 22, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
NUnit.Analyzers 3.6.1 -> 3.7.0 age adoption passing confidence

Release Notes

nunit/nunit.analyzers (NUnit.Analyzers)

v3.7.0: NUnit Analyzers 3.7 (and 2.7)

Compare Source

NUnit Analyzers 3.7 (and 2.7) - September 16, 2023

This release contains a lot of improvements and corrections to the supression of non-nullable fields and properties
that are assigned in setup methods (and not in constructors). We have also added suppression of:

  • CA1812 - Avoid uninstantiated internal classes - on test classes
  • CA1001 - Types that own disposable fields should be disposable - when disposed is called in TearDown methods

The release also contain some improvements to the performance of the analyzers by avoid repeated calls to
GetTypeByMetadataName. Also ValuesAttribute is now also handled by the analyzer in a similar manner as TestCaseAttribute.
Most of the work done in this release have either been driven by or made by @​manfred-brands.

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

Issues Resolved

Features and Enhancements

  • #​585 NonNullableFieldOrPropertyIsUninitializedSuppressor doesn't check async methods called from SetUp
  • #​582 NonNullableFieldOrPropertyIsUninitializedSuppressor does not detect assignments in try/finally blocks
  • #​569 Added a suppressor when CA1812 fires on NUnit Test classes.
  • #​568 Feature request: suppress CA1001 when Dispose is called in the TearDown method
  • #​561 NUnit2021 error shown when comparing Uri and string
  • #​548 Use RegisterCompilationStartAction to avoid repeated calls to GetTypeByMetadataName
  • #​542 Allow the *Source Analyzers to permit Task
  • #​462 DiagnosticsSuppress does not suppress CS8634
  • #​344 Add a rule informing that .Within is not valid for non-numeric types.
  • #​52 Reuse TestCaseAttribute logic for ValuesAttribute improvement

Bugs

  • #​587 Buggy interaction between the Assert.Multiple fixer and null reference suppression
  • #​580 False positive for WithinUsageAnalyzer
  • #​559 FP NUnit1001: CustomTypeConverters could convert from anything
  • #​549 Code Fix for NUnit2010 on Ref Structs Creates CS0306
  • #​541 [NUnit2045] Incorrect refactoring
  • #​535 DiagnosticSuppressor doesn't suppress values passed as arguments
  • #​534 QuickFix for Assert.Multiple looses white space before and comments after bug

Tooling, Process, and Documentation

  • #​579 chore: Bump Microsoft.NET.Test.Sdk
  • #​578 chore(deps): Bump Microsoft.CodeAnalysis.NetAnalyzers
  • #​573 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1
  • #​571 chore(deps): Bump System.Collections.Immutable from 6.0.0 to 7.0.0
  • #​567 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0
  • #​566 Update CONTRIBUTING.md to fix link to MS documentation.
  • #​560 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3
  • #​558 chore(deps): Bump StyleCop.Analyzers.Unstable from 1.2.0.435 to 1.2.0.507
  • #​557 chore(deps): Bump Microsoft.CodeAnalysis.NetAnalyzers from 7.0.1 to 7.0.3
  • #​556 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.2
  • #​553 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1
  • #​551 chore(deps): Bump NUnit3TestAdapter from 4.4.2 to 4.5.0
  • #​547 chore(deps): Bump CSharpIsNullAnalyzer from 0.1.300 to 0.1.495
  • #​543 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0
  • #​531 Markdown fixes

Configuration

📅 Schedule: Branch creation - "before 9am on Friday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c3b0a9c) 100.00% compared to head (73a6017) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #39   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          445       445           
  Branches        15        15           
=========================================
  Hits           445       445           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 2651a90 into main Sep 22, 2023
9 checks passed
@renovate renovate bot deleted the renovate/nuget-packages-minor-updates branch September 22, 2023 01:44
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.

0 participants