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
Convert testbed app to support test mode #6
Conversation
b2d6430
to
8bff0ea
Compare
CI is currently failing on the Python 3.11 AppImage test; this appears to be an issue with the image that wasn't revealed with pre-release testing (if only we had a way to run app tests in CI... :-P) |
FWIW, the test suite successfully completes on my machine. Also, I noticed the 3.11 support package is using Python |
Out of interest - what OS/version combination are you running? And which OS are you seeing the 3.11.0b3 support package on? |
OS Info
I'm seeing Python version |
Huh... looks like I neglected to publish a 3.11.0 version when I updated all the tags for 3.11. I'll fix that on Monday (along with working out why the AppImage 3.11 build is failing when importing |
d3d061e
to
030b2a7
Compare
Converts the testbed app to a stub app with a pytest test suite, able to be run with
briefcase run --test
.Converts the testbed app itself into the barest stub that will actually start. It doesn't use a GUI framework - it uses bare platform APIs. The tests have all been moved to the tests folder, and converted to pytest instead of the ad-hoc testing framework.
Takes the opportunity to add pre-commit with black etc processing.
Needs the briefcase test branch (Refs beeware/briefcase#962), plus the various
testcase2
template branches to work. The CI and project configurations have been modified to use those branches; those modifications will need to be removed before this is merged.Includes a CI configuration that runs the project to confirm that it works.
PR Checklist: