-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Genericize iOS testbed app #126167
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
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
OS-ios
tests
Tests in the Lib/test dir
type-feature
A feature request or enhancement
Comments
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 17, 2024
…pythonGH-126169) Modify iOS Testbed to read arguments from Info.plist. (cherry picked from commit 500a471) Co-authored-by: Russell Keith-Magee <[email protected]>
freakboy3742
pushed a commit
that referenced
this issue
Nov 18, 2024
freakboy3742
pushed a commit
to freakboy3742/cpython
that referenced
this issue
Dec 13, 2024
….plist (pythonGH-126169) (python#126940) pythongh-126167: Modify iOS Testbed to read arguments from Info.plist (pythonGH-126169)
freakboy3742
pushed a commit
to freakboy3742/cpython
that referenced
this issue
Dec 13, 2024
…o.plist (pythonGH-126169) (python#126940) pythongh-126167: Modify iOS Testbed to read arguments from Info.plist (pythonGH-126169)
freakboy3742
pushed a commit
to freakboy3742/cpython
that referenced
this issue
Dec 13, 2024
…o.plist (pythonGH-126169) (python#126940) pythongh-126167: Modify iOS Testbed to read arguments from Info.plist (pythonGH-126169)
freakboy3742
pushed a commit
to freakboy3742/cpython
that referenced
this issue
Dec 13, 2024
…o.plist (pythonGH-126169) (python#126940) pythongh-126167: Modify iOS Testbed to read arguments from Info.plist (pythonGH-126169)
freakboy3742
added a commit
to freakboy3742/cpython
that referenced
this issue
Dec 13, 2024
…python#126169) Modify iOS Testbed to read arguments from Info.plist.
freakboy3742
pushed a commit
to freakboy3742/cpython
that referenced
this issue
Dec 13, 2024
…o.plist (pythonGH-126169) (python#126940) pythongh-126167: Modify iOS Testbed to read arguments from Info.plist (pythonGH-126169)
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…python#126169) Modify iOS Testbed to read arguments from Info.plist.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
OS-ios
tests
Tests in the Lib/test dir
type-feature
A feature request or enhancement
Feature or enhancement
Proposal:
In order to run the CPython test suite, CPython source includes an Xcode project that is able to start a Python interpreter and run the equivalent of
python -m test
. The Python test suite is wrapped in an Xcode XCTest suite that contains a single test - "run the python test suite". The arguments passed to the Python test suite are hard-coded in the.m
file that defines the XCTest suite.The requirement to run tests isn't unique to CPython. Any third party module that is building for iOS will need to run its own test suite.
However, the needs of the CPython test suite and any other test suite are not that dissimilar - essentially, there must be a way to run
python -m <some test arguments>
on the iOS simulator, and gather the output of that test suite.It's not possible to pass in command-line arguments to the iOS simulator; but if the iOS Testbed drew it's startup arguments from the testbed app's Info.plist file, rather than hard-coding them in the test case source file, it would be possible for any app to:
The iOS testbed then becomes an artefact that is reusable between projects.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: