-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Labels
area-testingUnit tests, device testsUnit tests, device testsarea-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-ConvertXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Converts/triagedIssue has been reviewedIssue has been reviewedxsgXaml sourceGenXaml sourceGen
Milestone
Description
Description
Migrate the Controls.Xaml.UnitTests project from NUnit to xUnit as part of the repository-wide effort to standardize on xUnit for unit testing. This will ensure consistency, reduce maintenance complexity, and align with the overall migration tracked in #29977.
Tasks
- Replace all NUnit dependencies and test attributes with xUnit equivalents in the
Controls.Xaml.UnitTestsproject. - Update assertions and test fixtures as needed for xUnit compatibility.
- Remove NUnit references and obsolete code from the project.
- Ensure all tests run and pass after migration.
- Verify CI/CD integration for the migrated tests.
Acceptance Criteria
- All tests in
Controls.Xaml.UnitTestsare running on xUnit with no failures. - No remaining NUnit dependencies in the project.
- Documentation is updated if required.
References
Parent Epic: #29977
xUnit docs: https://xunit.net/
NUnit docs: https://docs.nunit.org/
Do not migrate tests in the
./src/Compatibilityfolders.
Copilot
Metadata
Metadata
Assignees
Labels
area-testingUnit tests, device testsUnit tests, device testsarea-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-ConvertXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Converts/triagedIssue has been reviewedIssue has been reviewedxsgXaml sourceGenXaml sourceGen