Skip to content

[Infra] Add MAUI tests - #7580

Draft
martincostello wants to merge 16 commits into
open-telemetry:mainfrom
martincostello:add-maui-tests
Draft

[Infra] Add MAUI tests#7580
martincostello wants to merge 16 commits into
open-telemetry:mainfrom
martincostello:add-maui-tests

Conversation

@martincostello

Copy link
Copy Markdown
Member

Fixes #5831

Changes

Add MAUI integration tests using Android.

Stacks on top of #7573.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • Changes in public API reviewed (if applicable)

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.
@github-actions github-actions Bot added infra Infra work - CI/CD, code coverage, linters dependencies Pull requests that update a dependency file labels Jul 31, 2026
@martincostello martincostello changed the title Add maui tests [Infra[ Add MAUI tests Jul 31, 2026
@martincostello martincostello changed the title [Infra[ Add MAUI tests [Infra] Add MAUI tests Jul 31, 2026
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.41%. Comparing base (fc163d4) to head (17efb3e).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            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     
Flag Coverage Δ
unittests-PowerShellScripts 87.43% <ø> (ø)
unittests-Project-Experimental 90.43% <ø> (-0.06%) ⬇️
unittests-Project-Stable 90.43% <ø> (-0.06%) ⬇️
unittests-Solution 90.49% <ø> (+0.04%) ⬆️
unittests-UnstableCoreLibraries-Experimental 51.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 31, 2026

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-07-31 17:55 UTC

Move out of draft to request review.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@martincostello martincostello added the mobile Issues related to running on mobile platforms label Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file infra Infra work - CI/CD, code coverage, linters mobile Issues related to running on mobile platforms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[repo] Test/CI coverage for mobile/MAUI/Blazor

1 participant