Skip to content

Run unit tests on Android #1704

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

Closed
bruno-garcia opened this issue Jun 10, 2022 · 1 comment · Fixed by #1703
Closed

Run unit tests on Android #1704

bruno-garcia opened this issue Jun 10, 2022 · 1 comment · Fixed by #1703
Assignees

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Jun 10, 2022

The net6.0-android target isn't tested

From @mattjohnsonpint's comment in this PR: #1703 (comment)

Hi. I have another big PR with more MAUI stuff coming shortly that includes the deployment flag. But if you can find a way to get device tests going that would be amazing.

Currently, I can only write unit tests that run on net6.0 target, but there's a lot of code we'll want to tests that is only applicable under a specific device target, such as net6.0-android.

I think we want to do something like what the MAUI team is doing here: https://github.com/dotnet/maui/tree/main/src/TestUtils

Looks like others are trying this as well. See dotnet/maui#3552 (comment)

An attempt was done in the past, in this PR:

Ideally we'd use xharness.

@bruno-garcia bruno-garcia moved this from Needs Discussion to Backlog in [DEPRECATED] Mobile SDKs Jun 14, 2022
@mattjohnsonpint mattjohnsonpint moved this from Backlog to In Progress in [DEPRECATED] Mobile SDKs Jun 30, 2022
Repository owner moved this from In Progress to Done in [DEPRECATED] Mobile SDKs Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants