Skip to content
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

docs: add language example in execute methods #2444

Merged
merged 3 commits into from
Aug 3, 2024

Conversation

KazuCocoa
Copy link
Member

@KazuCocoa KazuCocoa marked this pull request as ready for review August 3, 2024 05:13

An example of the `arguments` usage is language and locale.
XCTest lets you start an app process by specifing [Language and Locale IDs](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html) via the process arguments with `-AppleLanguages` and `-AppleLocale`.
The format is [Testing Specific Languages and Regions](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/TestingYourInternationalApp/TestingYourInternationalApp.html).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the Testing Specific Languages and Regions part of the Testing Your Internationalized App Apple documentation article for more details.

As an usage example, `arguments` allow you to enforce language and locale for the application to start with.
XCTest lets you start an app process by specifing [Language and Locale IDs](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html) via the process arguments with `-AppleLanguages` and `-AppleLocale`.
Check the [Testing Specific Languages and Regions part of the Testing Your Internationalized App](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/TestingYourInternationalApp/TestingYourInternationalApp.html) for more details.
Please terminate the application if the process was already running. The process should start with the arguments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lease terminate the application if the process was already running. The process should start with the arguments. -> Make sure to terminate the application the application before launching it with arguments if it is already running

@KazuCocoa
Copy link
Member Author

thanks, updated

@KazuCocoa KazuCocoa merged commit eb20bc0 into master Aug 3, 2024
4 checks passed
@KazuCocoa KazuCocoa deleted the docs-launchapp-example branch August 3, 2024 14:56
Copy link
Contributor

github-actions bot commented Aug 4, 2024

🎉 This issue has been resolved in version 7.24.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants