Conversation
Member
BlaiseD
commented
Mar 23, 2026
- Bump AutoMapper min version to 16.1.1
- Mark test project with true>
- Suppress code analysis warnings in TypeExtensionsTest.cs
- Rename enum in IsEnum tests for clarity
- Bump AutoMapper min version to 16.1.1 - Mark test project with <SonarQubeTestProject>true> - Suppress code analysis warnings in TypeExtensionsTest.cs - Rename enum in IsEnum tests for clarity
Reduced coverlet.msbuild package version from 8.0.1 to 6.0.4 in the test project to address compatibility or stability concerns. No other changes were made.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates package and analysis-related configuration for the ExpressionMapping library and its unit tests, aiming to raise the minimum supported AutoMapper version and reduce static-analysis noise in the test suite.
Changes:
- Bump the minimum supported AutoMapper version to 16.1.1 (and update SourceLink GitHub package version).
- Mark the unit test project as a SonarQube test project and update
Microsoft.NET.Test.Sdk. - Add warning suppressions in
TypeExtensionsTest.csand rename a local enum used inIsEnumtests.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/TypeExtensionsTest.cs | Adds file-level warning suppressions and renames a test enum. |
| tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/AutoMapper.Extensions.ExpressionMapping.UnitTests.csproj | Adds SonarQubeTestProject and bumps Microsoft.NET.Test.Sdk. |
| src/AutoMapper.Extensions.ExpressionMapping/AutoMapper.Extensions.ExpressionMapping.csproj | Raises AutoMapper minimum version and updates package metadata/dependency versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tests/AutoMapper.Extensions.ExpressionMapping.UnitTests/TypeExtensionsTest.cs
Show resolved
Hide resolved
src/AutoMapper.Extensions.ExpressionMapping/AutoMapper.Extensions.ExpressionMapping.csproj
Show resolved
Hide resolved
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.