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

Bump NUnit.Analyzers from 3.6.1 to 3.7.0 in /docs/snippets #791

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2023

Bumps NUnit.Analyzers from 3.6.1 to 3.7.0.

Release notes

Sourced from NUnit.Analyzers's releases.

NUnit Analyzers 3.7 (and 2.7)

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

... (truncated)

Commits
  • 11e0c9f Merge pull request #590 from nunit/release3.7
  • 1d44491 chore: Update release notes
  • ad20d26 DereferencePossiblyNullReferenceSuppressor: Search inside Assert.Multiple (#588)
  • c652c64 Merge pull request #589 from manfred-brands/issue585_asyncInit
  • 761ff86 Merge pull request #584 from manfred-brands/issue561_UriVsString
  • cfe5e9d Descend into local asynchronous methods.
  • e429d3b CanBeEqual: Add special case for Uri.Equals(string)
  • 81c26ba DisposableFieldsSuppressor and Analyzer (#576)
  • fde37e8 Recognize assignments inside try/finally statements. (#583)
  • eebf3f3 Merge pull request #581 from manfred-brands/issue580_WithinOnNullable
  • 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 3.6.1 to 3.7.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.txt)
- [Commits](nunit/nunit.analyzers@3.6.1...3.7.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code waiting-on:dependency labels Sep 18, 2023
@mikkelbu mikkelbu merged commit 69f69bb into master Sep 19, 2023
7 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/docs/snippets/NUnit.Analyzers-3.7.0 branch September 19, 2023 12:37
github-actions bot pushed a commit that referenced this pull request Sep 19, 2023
…it.Analyzers-3.7.0

Bump NUnit.Analyzers from 3.6.1 to 3.7.0 in /docs/snippets 69f69bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Pull requests that update .net code waiting-on:dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant