jupyterlite / jupyterlite

Wasm powered Jupyter running in the browser 💡
https://jupyterlite.rtfd.io/en/stable/try/lab
BSD 3-Clause "New" or "Revised" License
3.9k stars 303 forks source link

JupyterLite kernel test #639

Open martinRenou opened 2 years ago

martinRenou commented 2 years ago

For testing kernels on the back-end we have the jupyter-kernel-test tool which is quite convenient, I was thinking (with the number of xeus kernels coming to JupyterLite) it would be nice to have something similar for jupyterlite kernels.

It could probably be using galata or just playwright. It could also be a jest testing tool.

I am opening an issue here to gather ideas on this.

bollwyvl commented 2 years ago

I think testing/spec validation might be something where, in the spirit of #41, we would perhaps benefit from using exactly jupyter-kernel-test, such that spec changes only have to be reflected/improved in one place.

Some thoughts on how we could do this:

Either way, and even if we started it here, i imagine we would still end up a separate installable package, and repo in this org, which each kernel's test suite could depend on.