Skip to content

Adds Uno.WinUI and DryIoc.Uno.WinUI unit tests#3392

Open
dansiegel wants to merge 1 commit intomasterfrom
uno-tests
Open

Adds Uno.WinUI and DryIoc.Uno.WinUI unit tests#3392
dansiegel wants to merge 1 commit intomasterfrom
uno-tests

Conversation

@dansiegel
Copy link
Copy Markdown
Member

Description of Change

This pull request introduces comprehensive unit test projects for Prism.Uno.WinUI and Prism.DryIoc.Uno.WinUI. These tests validate core functionalities, including:

  • Container Integration: Verifying DryIoc container extension and framework exception registration.
  • API Contract: Ensuring public types and members are discoverable and loadable.
  • Region Management: Covering RegionManager, Region, and NavigationViewRegionAdapter behaviors, including adding/removing regions, context changes, and navigation requests.
  • Dialogs and Interactivity: Testing DialogService, IDialogWindow contracts, and InvokeCommandAction properties.
  • Application Lifecycle: Validating PrismApplicationBase and PrismApplication extensibility points.
  • Utility APIs: Confirming expected behavior of internal utility types.

The changes also update the CI/CD workflows (build_uno.yml and ci.yml) to enable the execution of these new unit tests, improving test coverage and ensuring stability for Prism on the Uno Platform. The coverlet.msbuild package is also added to Directory.Packages.props to support code coverage analysis for these new tests.

Bugs Fixed

  • None

API Changes

None

Behavioral Changes

None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

Introduces a comprehensive test suite for Uno Platform projects, including API contract verification, container integration, region management, and dialog services. This also enables test execution in the CI/CD workflows and adds coverlet.msbuild to support code coverage reporting.
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.

1 participant