Replies: 2 comments
-
i think it's best to keep them separate. in a import pytest
@pytest.fixture
def nb():
import nb
_ = nb.app.run()
_ = _[-1] # results mapping
return _ this opens the door to nb regression testing (in one go). anyone from the team wants to chime in? |
Beta Was this translation helpful? Give feedback.
-
Woops! Sorry just seeing this @majidaldo Good question! We couldn't figure out to to expose a reasonable API, so we just have an undocumented work around while we try to think it through. There's an issue here tracking it: The current "method" is that any variable with the name suffix But this has its issues. Let us know what your ideal API would be |
Beta Was this translation helpful? Give feedback.
-
the pytest example doesn't show how one can use a pytest fixture
https://docs.marimo.io/guides/testing/pytest/
Beta Was this translation helpful? Give feedback.
All reactions