Note
This documentation is for a development version of ipywidgets. There may be significant differences from the latest stable release.
Testing¶
Running Python tests¶
To run the Python tests:
nosetests --with-coverage --cover-package=ipywidgets ipywidgets
Running the Javascript tests¶
To run the Javascript tests:
npm run buildtests; python -m ipywidgets.jstest
To run the Javascript tests with all output printed:
npm run buildtests; python -m ipywidgets.jstest -- --logall
Description of jstest additional arguments:
logall - If there is atleast one failure in the notebook, log information for every cell. logsuccess - Log information for every cell in the notebook, regardless of failure.