← Back to issue list

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

View original Github issue

Metadata

Project
snapcraft
Number
#5534
Type
pull request
State
merged
Author
mateusrodrigues
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #5534 via commit 18417a277, adding unit and spread coverage for .NET v2, core24 registration, and a dotnet-hello build-and-run test.

Resolution: closed resolved

Reason: PR #5534 was approved and merged as commit 18417a277. It removed obsolete unregistered-plugin tests and added registered core24 cases plus a .NET v2 Hello World spread test.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] 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.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #5534 via commit 18417a277, adding unit and spread coverage for .NET v2, core24 registration, and a dotnet-hello build-and-run test.
stealth/space-bunny-alpha — closed resolved Merged PR #5534 updated .NET v2 plugin coverage: removed outdated unregistered tests, added core24 registered cases, and introduced a dotnet-hello spread test.
qwen/qwen3.6-35b-a3b — — Merged after rebase and test fixes. Updates .NET plugin tests by removing outdated spread tests, adding core24 cases to registered plugin tests, and introducing a dotnet-hello spread test. All CI checks passed with two approvals.
qwen3.6-35b-a3b-mtp-q6 — — Merged after the contributor rebased and fixed test failures to align with craft-parts 2.11.0. The update adds unit and spread tests for the .NET (v2) plugin, removes outdated registration tests, and introduces a dotnet-hello spread test for core24.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1047 feat: new .NET plugin (v2) craft-parts merged Merged PR #1047 added the v2 .NET plugin with unit and integration tests, documentation, a changelog entry, and default plugin registration.
73%
#2445 Add core18 support to dotnet plugin snapcraft closed Closed unmerged after a maintainer requested required unit and spread tests; core18 support was later added by merged PR #3005 (d976a8988).
72%
#1140 feat: enabled new .NET plugin (v2) on 25.10+ rockcraft merged Merged PR #1140 as 42c7afa8, enabling the .NET v2 plugin for Ubuntu 25.10+ and devel, with updated documentation and spread-test coverage.
72%