Closed fcollonval closed 1 month ago
+1 to jest
for simplicity
Note: in jupyterlab-git we switched to the testing-library. I think it will be a good candidate for lumino widgets tests.
What is the selling point over jest?
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.
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.