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

Adds support for test code to the project template #12

Closed
wants to merge 4 commits into from

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Nov 2, 2022

Template modifications to add a unit test to the iOS Xcode project.

Adds a single XCTest that tries to run a test suite contained in tests/run_tests.py. tests and test_packages will be included in the PYTHONPATH for the duration of the test run, and the working directory will be set to tests. The XCTest passes/fails based on the success/failure of the entire Python test suite.

Refs beeware/briefcase#949.

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
Copy link
Member Author

Closed in favour of #13

@freakboy3742 freakboy3742 deleted the testcase branch November 8, 2022 07:52
# 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.

1 participant