-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Enable Full Support for Multiple XCTest/XCUITest Cases configured in xctestrun File #563
Enable Full Support for Multiple XCTest/XCUITest Cases configured in xctestrun File #563
Conversation
…trun file (#5) * Enable support for multiple XCTest/XCUITest cases configured in xctestrun file. * move the place of one testing method * Update tests
ios/testmanagerd/xcuitestrunner.go
Outdated
svc, _ := installationproxy.New(device) | ||
installedApps, _ := svc.BrowseUserApps() |
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.
are the errors ignored intentionally here?
Also, svc
needs to be closed after we're done
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.
We introduced a new method to get the installedApps list. errors should not block running the tests
Description
This PR extends the support for xctestrun files with format version 2, building on the initial implementation merged in #559.
With this update, we enable full support for XCUITests by utilizing the parsed test configurations from an xctestrun file.
Testing :
The following scenarios were tested to validate the changes:
✅ Single XCTest case
✅ Single XCUITest case
✅ Single XCUITest case targeting system app
✅ Multiple XCTest cases targeting the same app
✅ Multiple XCTest cases targeting different apps
✅ Multiple XCUITest cases targeting the expected app
✅ Mixed XCUITest and XCTest cases targeting the expected app
✅ Mixed XCUITest and XCTest cases targeting different apps
These enhancements ensure that
go-ios
can reliably handle diverse test configurations parsed from anxctestrun
file in both format versions.