-
Notifications
You must be signed in to change notification settings - Fork 129
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
[PLAT-8506] Local watchOS E2E testing #1398
Merged
Merged
Conversation
This file contains 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
nickdowell
changed the title
Local watchOS E2E testing
[PLAT-8506 ] Local watchOS E2E testing
Jun 1, 2022
Generated by 🚫 Danger |
nickdowell
changed the title
[PLAT-8506 ] Local watchOS E2E testing
[PLAT-8506] Local watchOS E2E testing
Jun 1, 2022
nickdowell
force-pushed
the
nickdowell/watchos-e2e
branch
from
June 1, 2022 15:55
c02841e
to
81be270
Compare
nickdowell
requested review from
twometresteve and
kstenerud
and removed request for
twometresteve
June 1, 2022 15:56
nickdowell
force-pushed
the
nickdowell/watchos-e2e
branch
from
June 6, 2022 14:32
81be270
to
64c137b
Compare
nickdowell
force-pushed
the
integration/watchos
branch
from
June 6, 2022 14:43
37ffbeb
to
def8fba
Compare
nickdowell
force-pushed
the
nickdowell/watchos-e2e
branch
from
June 6, 2022 15:14
64c137b
to
f0b2232
Compare
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.
Test/CI approach looks good to me, but could we have something in TESTING.md detailing how to run the tests on watchOS (and to some extent advertise that it's possible)?
twometresteve
approved these changes
Jun 7, 2022
kstenerud
approved these changes
Jun 8, 2022
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.
Goal
Make it possible to run E2E scenarios on Apple Watch.
Scope
Allows running the
barebone_tests
on watchOS.Design
Launches the fixture using Xcode 13's
xcdebug
command-line tool.The
--environment
option does not seem to work, so maze runner's host name needs to be compiled into the fixture. TheMakefile
takes care of this by inserting the computer's IP address.Changeset
Adds a watchOS fixture -
watchOSTestApp
infeatures/fixtures/watchos
Amends
features/barebone_tests.feature
to be compatible with watchOS.BareboneTestUnhandledErrorScenario
has been changed to an uncaught NSException because it's not possible to detect Swift fatal errors.Testing
Run the tests with
make e2e_watchos
An iPhone with paired Apple Watch must be connected and available in Xcode's devices window.
See TESTING.md