-
-
Notifications
You must be signed in to change notification settings - Fork 225
iOS & Android integration tests #4559
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4559 +/- ##
==========================================
- Coverage 73.50% 73.46% -0.04%
==========================================
Files 482 482
Lines 17678 17678
Branches 3493 3493
==========================================
- Hits 12994 12988 -6
- Misses 3796 3800 +4
- Partials 888 890 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
To make room for Android potentially coming later.
|
@sentry review |
- just pass one test arg - minimize logging (Swift print deadlocks???) - ios: switch from xharness to plain xcrun simctl
Allows running Android integration tests on Windows
To avoid requiring `adb` in `PATH`
Now `pwsh integration-test/android.Tests.ps1` device/emulator discovery works without adb in PATH or ANDROID_SERIAL explicitly defined.
Co-authored-by: Stefan Pölz <[email protected]>
| # by Android Device Tests, or manually when testing locally. This avoids | ||
| # slowing down non-Device Test CI builds further. | ||
| Install-XHarness | ||
| $script:emulator = Get-AndroidEmulatorId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL about $script scoped variables in PWSH!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one non-blocking suggestion, but otherwise LGTM 🎉
Technically, less correct but doesn't fail even if port forwarding had failed. This way, we can keep it simple and don't need to track it separately.
|
Thanks for testing and helping! |
Co-authored-by: Stefan Pölz <[email protected]> Co-authored-by: James Crosswell <[email protected]>
Helps verify that crash events are captured as expected after Cocoa and Java SDK updates (and eventually getsentry/sentry-cocoa#6193):
CrashType.ManagedCrashType.NativeNullReferenceExceptionFor example, see
#skip-changelog
Note
Adds MAUI-based Android and iOS integration tests executed on emulators/simulators in CI, with supporting test app, utilities, and workflow updates (including retries and result artifacts).
integration-test/android.Tests.ps1with retry; checkout submodules; set up Java 17; fetch sharedgithub-workflows; reuse emulator config via YAML anchors; upload bothtest_outputandintegration-test/mobile-app/test_output.integration-test/ios.Tests.ps1with retry; upload both result paths.scriptsin sparse checkout for publishing builds.integration-test/net9-maui/**) targetingnet9.0-android35.0andnet9.0-ios18.0to drive crash scenarios and verify envelopes.integration-test/android.Tests.ps1,integration-test/ios.Tests.ps1; shared helpers inintegration-test/pester.ps1.scripts/device-test-utils.ps1(XHarness install, emulator/simulator helpers);scripts/device-test.ps1now uses these helpers and simplifies simulator selection.integration-test/common.ps1to source shared Pester extensions.Written by Cursor Bugbot for commit 8144e87. This will update automatically on new commits. Configure here.