Skip to content

Conversation

@edvilme
Copy link
Contributor

@edvilme edvilme commented Feb 13, 2025

Adds missing tests for #46456
This has apparently been a common issue that was not considered when migrating to the new solutionpersistence parser due to a lack of tests.
This adds a simple test scenario to avoid breaking this behavior in the future.

@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Feb 13, 2025
@edvilme edvilme force-pushed the edvilme-sln-add-parent branch from 75f869a to 600b6fe Compare February 14, 2025 20:12
@edvilme edvilme marked this pull request as ready for review February 14, 2025 20:14
@Copilot Copilot AI review requested due to automatic review settings February 14, 2025 20:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • test/TestAssets/TestProjects/TestAppWithSlnAndCsprojInParentDir/Dir/App.sln: Language not supported
  • test/TestAssets/TestProjects/TestAppWithSlnAndCsprojInParentDir/Dir/App.slnx: Language not supported
  • test/TestAssets/TestProjects/TestAppWithSlnAndCsprojInParentDir/Lib/Lib.csproj: Language not supported
Comments suppressed due to low confidence (1)

test/dotnet-sln.Tests/GivenDotnetSlnAdd.cs:1114

  • The test case should verify the contents of the solution file after the project is added to ensure the expected behavior is met.
cmd.Should().Pass(); // TODO: Check actual contents

@edvilme edvilme requested review from a team and Copilot February 14, 2025 20:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

@edvilme edvilme enabled auto-merge (squash) February 14, 2025 21:14
@edvilme edvilme merged commit 4e9565d into dotnet:release/9.0.2xx Feb 14, 2025
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants