Add a test mode for the web backend #1166
Labels
enhancement
New features, or improvements to existing features.
web
The issue relates to supporting the web as a platform.
What is the problem or limitation you are having?
--test
mode is supported onbriefcase run
on every platform except web. We need the ability to run test suites on web so that an app can validate runtime behavior on web.Describe the solution you'd like
A default Briefcase
helloworld
project should produce test output frombriefcase run web --test
.Describe alternatives you've considered
Don't test on web. YOLO. :-)
Additional context
There are 2 major technical problems to be solved:
python -m tests.myapp
rather thanpython -m myapp
)(1) could be solved by:
(2) is more complex - we need to be able to capture anything written to stdout by Python in the browser, and redirect it to a location that Briefcase can see. Some options:
The text was updated successfully, but these errors were encountered: