jupyterlab / lumino

Lumino is a library for building interactive web applications
https://lumino.readthedocs.io/
Other
598 stars 127 forks source link

Karma is deprecated we should move on #610

Closed fcollonval closed 1 month ago

fcollonval commented 11 months ago

Problem

Karma is deprecated

Proposed Solution

We should use more modern test tool; Jest is probably the best candidate to avoid yet another tool compared with JupyterLab.

krassowski commented 7 months ago

+1 to jest for simplicity

fcollonval commented 7 months ago

Note: in jupyterlab-git we switched to the testing-library. I think it will be a good candidate for lumino widgets tests.

krassowski commented 7 months ago

What is the selling point over jest?

fcollonval commented 7 months ago

You still need jest as a test runner. The goal of the testing-library is to render components (of any framework) and interact with the DOM to carry out the user actions and introspect it for expectations.

Basically this is what is needed to replace karma while jest is to replace chai and mocha.