What's the best current approach for testing marimo notebooks? #573
-
In a project I'm working on, the CI checks that our Jupyter notebooks outputs are consistent, by re-running the notebooks and checking the outputs vs the ones cached. This is very helpful to catch changes in behaviour when updating dependencies. Is there anything equivalent for marimo? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We currently don't have a way to do this exactly how you do it with Jupyter. But we have some alternatives of testing your notebooks in CI.
Right now to generate the outputs, it requires spinning up a browser. We plan to make some architectural changes in future that will allow use to do something like generate the outputs via the CLI. |
Beta Was this translation helpful? Give feedback.
We currently don't have a way to do this exactly how you do it with Jupyter. But we have some alternatives of testing your notebooks in CI.
stdout
, you could capture that output and snapshotRight now to generate the outputs, it requires spinning up a browser. We plan to make some architectural changes in future that will allow use to do something like generate the outputs via the CLI.