mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
* add failing test for readonly notebook * test typing after save-as * make notebook writable after save-as fixes #1324 * fix failing test in travis |
||
---|---|---|
.. | ||
_testdata | ||
base | ||
mockextension | ||
notebook | ||
selenium | ||
services | ||
__init__.py | ||
launchnotebook.py | ||
README.md | ||
test_config_manager.py | ||
test_files.py | ||
test_gateway.py | ||
test_hist.sqlite | ||
test_i18n.py | ||
test_nbextensions.py | ||
test_notebookapp_integration.py | ||
test_notebookapp.py | ||
test_paths.py | ||
test_serialize.py | ||
test_serverextensions.py | ||
test_utils.py | ||
util.js |
IPython Notebook JavaScript Tests
This directory includes regression tests for the web notebook. These tests depend on CasperJS, which in turn requires a recent version of PhantomJS.
The JavaScript tests are organized into subdirectories that match those in
static
(base
, notebook
, services
, tree
, etc.).
To run all of the JavaScript tests do:
python -m notebook.jstest
To run the JavaScript tests for a specific file (base/utils.js
in this case)
do:
python -m notebook.jstest base/utils.js
The file jstest.py
will automatically launch a notebook server to run the
tests against. You can however specify the url of a running notebook server
by using --url=http://localhost:8888
.