[Infra] Add MAUI tests - #7580
Draft
martincostello wants to merge 16 commits into
Draft
Conversation
Initial attempt at testing the SDK running on iOS. Contributes to open-telemetry#5831.
Allow the term "udid" for Universal Device ID.
Use `MtouchLink=None` to disable trimming.
Select the right version of Xcode that is needed.
Use `find` instead of `ls`.
- Ignore symlinks when finding Xcode. - Fix error about `PublishFolderType` when publishing for iOS. - Fix warnings about no orientation being specified.
- Remove bits of MSTest that cannot be AoT compiled. - Fix warnings about `'.BuildFlags` files.
Deconstruct tuples and use auto-property.
Do not wait for the test app to complete, just to write the test results.
- Wait for the test results to be written, rather than for things to completely shutdown. - Use `ConfigureAwait(false)` to ensure that the lack of UI doesn't starve the app due to a lack of main loop message pump.
Fix OTLP export not working in the end-to-end tests (or at least get more details about why not).
Add a shared `OtlpHttpCollector` class to re-use between the Android, Blazor and iOS tests.
Re-apply some changes lost during the refactor.
Remove out-of-date comments about `OTEL_TEST_OTLP_ENDPOINT`.
Add MAUI integration tests using Android. Resolves open-telemetry#5831.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7580 +/- ##
==========================================
- Coverage 90.44% 90.41% -0.04%
==========================================
Files 290 290
Lines 15989 15989
==========================================
- Hits 14462 14456 -6
- Misses 1527 1533 +6
Flags with carried forward coverage won't be shown. Click here to find out more. |
Pull request dashboard statusWaiting on the author · refreshed 2026-07-31 17:55 UTC Move out of draft to request review. Status above doesn't look right?
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5831
Changes
Add MAUI integration tests using Android.
Stacks on top of #7573.
Merge requirement checklist
AppropriateCHANGELOG.mdfiles updated for non-trivial changesChanges in public API reviewed (if applicable)