-
Notifications
You must be signed in to change notification settings - Fork 877
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
test app init of examples #2491
Conversation
@quaquel this seems to already catch an error in WolfSheep related to the ABMSimulator? |
Performance benchmarks:
|
I did so way more complex things to try to accomplish this. Thanks, we really need it. |
in app.py, change the line to |
fixed |
Same! Luckily, this is a simple solution
I thought I am crazy, because I wanted to do it on GitHub directly and it was already updated. But it was just you being faster. Thanks! |
test app init of examples --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jan Kwakkel <[email protected]>
First stab at testing the exmamples app.
This already tests if there are any errors in app.py itself and if solara starts without any exceptions by calling app.page. We still don't know if anything is displayed and if the buttons etc. do anything, but initial errors are caught.