You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our coverage is a bit poor and it's going to lead to problems.
I think the testing within the dash ecosystem is good enough that we can convert all the examples into tests and achieve significant coverage with very little new added code.
Move the examples to root level, I'll leave a README there or something.
Add the examples path to the conftest
Make test functions like this:
# tests/test_example_apps.py
import pytest
from example_apps.app1 import app as app1
from example_apps.app2 import app as app2
def test_app1(dash_duo):
# Use the app instance directly
dash_duo.start_server(app1)
Alternatives
No response
The text was updated successfully, but these errors were encountered:
yes, that definitely makes sense! 👍 i remember taking a brief look at doing this as part of #362 but didn't follow through. perhaps worth linking this related PR janosh/pymatviz#164 by @DanielYang59 as well
Problem
Currently our coverage is a bit poor and it's going to lead to problems.
I think the testing within the dash ecosystem is good enough that we can convert all the examples into tests and achieve significant coverage with very little new added code.
@mkhorton , @janosh let me know if this makes sense.
Proposed Solution
I'm proposing that we do something like this:
examples
path to the conftestAlternatives
No response
The text was updated successfully, but these errors were encountered: