You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monkeyking/notebook/tests
Mac Knight 9b9c19186d
changed test to reflect new id
8 years ago
..
_testdata Add tests for attachments insert menuitem 10 years ago
base test runtime-loading of modules 9 years ago
mockextension Squash some bugs and write unit tests 10 years ago
notebook changed test to reflect new id 8 years ago
services stop using Allow76 9 years ago
tree handle non-empty base URL in dashboard test 10 years ago
README.md Update tests/README.md to point towards using notebook.jstest instead of iptest 10 years ago
__init__.py s/jupyter_notebook/notebook 11 years ago
launchnotebook.py test dirs are paths, not TempDir objects 9 years ago
test_config_manager.py renamed manager.py to config_manager.py and added more docstrings 8 years ago
test_files.py Added a flag to allow access of hidden files (#2819) 8 years ago
test_hist.sqlite s/jupyter_notebook/notebook 11 years ago
test_i18n.py Work on loading UI translations (#2969) 8 years ago
test_nbextensions.py renamed manager.py to config_manager.py and added more docstrings 8 years ago
test_notebookapp.py Fix test for SystemExit error 8 years ago
test_paths.py s/jupyter_notebook/notebook 11 years ago
test_serialize.py s/jupyter_notebook/notebook 11 years ago
test_serverextensions.py renamed manager.py to config_manager.py and added more docstrings 8 years ago
test_utils.py The root directory of the notebook server should never be hidden (#2907) 8 years ago
util.js speed up casperjs tests 9 years ago

README.md

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.