Skip to content

Add unit and spread tests for the .NET (v2) plugin #5534

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

Open
wants to merge 2 commits into
base: feature/dotnet
Choose a base branch
from

Conversation

mateusrodrigues
Copy link
Member

@mateusrodrigues mateusrodrigues commented Jun 4, 2025

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run make test?

  • Removed the dotnet-unregistered spread test, which no longer applies now that there is a new .NET plugin registered for core24.
  • Removed the test_application_dotnet_not_registered test and added core24 test cases to the test_application_dotnet_registered test, since the .NET plugin is now available on core24 and later.
  • Added a dotnet-hello spread test that builds a simple Hello World .NET snap using the new .NET (v2) plugin to the already existing build-and-run-hello test suite.

@mr-cal
Copy link
Collaborator

mr-cal commented Jun 5, 2025

@mateusrodrigues, I just did a big update to feature/dotnet. It's now update to date with main and uses craft-parts 2.11.0, which has the dotnet v2 plugin.

@mateusrodrigues mateusrodrigues force-pushed the work/dotnet-spread-tests branch from 8b3c1aa to 18c71f0 Compare June 5, 2025 13:30
@mateusrodrigues mateusrodrigues changed the title Add .NET spread tests Add spread tests for the .NET (v2) plugin Jun 5, 2025
@mateusrodrigues mateusrodrigues changed the title Add spread tests for the .NET (v2) plugin Add unit and spread tests for the .NET (v2) plugin Jun 5, 2025
@mateusrodrigues mateusrodrigues force-pushed the work/dotnet-spread-tests branch from 5be0900 to 48df665 Compare June 5, 2025 15:00
  * Remove the `dotnet-unregistered` spread test, which no longer
    applies.
  * Add a `dotnet-hello` spread tests that builds a simple Hello World
    .NET snap with the new .NET (v2) plugin.
  * Remove the `test_application_dotnet_not_registered` test and add
    `core24` test cases to the `test_application_dotnet_registered`
    test, since the .NET plugin is now available on core24 and later.
@mateusrodrigues mateusrodrigues force-pushed the work/dotnet-spread-tests branch from 48df665 to 6b19ab1 Compare June 5, 2025 15:01
@mateusrodrigues
Copy link
Member Author

@mr-cal thanks, I rebased and fixed test failures, all checks are green now. Marking this as ready for review.

@mateusrodrigues mateusrodrigues marked this pull request as ready for review June 5, 2025 15:54
@mateusrodrigues mateusrodrigues requested a review from mr-cal as a code owner June 5, 2025 15:54
Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

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

Looks good!

@mateusrodrigues mateusrodrigues force-pushed the work/dotnet-spread-tests branch from 5e9848e to f0ef178 Compare June 5, 2025 18:49
Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

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

Thanks!

@mr-cal mr-cal requested a review from lengau June 5, 2025 19:10
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.

2 participants