Skip to content
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

Migrate Compatibility.Core platform-specific unit tests to device tests #27303

Open
jfversluis opened this issue Jan 23, 2025 · 0 comments
Open
Labels
area-testing Unit tests, device tests s/triaged Issue has been reviewed testing-missing-tests

Comments

@jfversluis
Copy link
Member

There are unit tests under:

  • src\Compatibility\Core\tests\Android
  • src\Compatibility\Core\tests\iOS
  • src\Compatibility\Core\tests\WinUI

That are not running right now. Probably those have been copied over from Xamarin.Forms where they could run as unit tests, but now with .NET MAUI this is not possible. The way to still make these run is by turning them into device tests, probably either under src\Controls\tests\DeviceTests or src\Core\tests\DeviceTests.

As much as possible, try to see if there is already an existing test-case in the existing device tests. If yes, the compatibility test can be ignored. If not, convert the compatibility test to a device test.

Tests that reference obsoleted controls (like Frame) do not need to be converted.

@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Unit tests, device tests s/triaged Issue has been reviewed testing-missing-tests
Projects
None yet
Development

No branches or pull requests

1 participant