Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Enhancement] Migrate Xamarin.CommunityToolkit.UnitTests to NUnit #1083

@TheCodeTraveler

Description

@TheCodeTraveler

Summary

This enhancement will migrate Xamarin.CommunityToolkit.UnitTests from xUnit (which it currently uses) to NUnit.

The reason for migrating to NUnit is two fold:

  1. Xamarin.CommunityToolkit.Markup.UnitTests currently uses NUnit
  • Keeping the unit testing framework consistent will allow for a consistent experience for contributors and maintainers
  1. xUnit doesn't support the command line command dotnet test for .NET Framework :
  • Long story short, this is the bash script that is required for us to run .NET Framework tests for xUnit on macOS (that is now included in azure-pipelines.yml:
mono "`find ~/.nuget/packages | grep net461 | grep xunit.console.exe | grep -v config`" "`find . -name Xamarin.CommunityToolkit.UnitTests.dll | grep bin | grep 461`"

Who Will Do The Work?

  • I am willing to take this on myself

Metadata

Metadata

Labels

a/tests 🧪enhancementSmall enhancement to the libraryfeature-requestA request for a new feature.proposalProposed feature or enhancement.♻ housekeepingThis issue/PR is related to internal stuff.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions