Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Test framework v2 #11

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Test framework v2 #11

merged 1 commit into from
Nov 23, 2022

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Nov 8, 2022

Template modifications to support testing in a macOS app project. The v1 approach didn't support testing apps, only projects.

The app looks for the BRIEFCASE_MAIN_MODULE environment variable at startup; if it exists, that module name is used to start the app, rather than the one named in Info.plist. If this variable exists, the dialog displayed on app failure is also suppressed.

The stub binaries are also updated to incorporate the disabling of optimisation, which interferes with pytest.

Refs beeware/briefcase#962

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 marked this pull request as ready for review November 18, 2022 07:21
@freakboy3742 freakboy3742 requested a review from mhsmith November 23, 2022 03:12
@freakboy3742 freakboy3742 merged commit 93d60c7 into main Nov 23, 2022
@freakboy3742 freakboy3742 deleted the testcase2 branch November 23, 2022 03:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants