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
Matthias Bussonnier ab85f165c7
Create shortcut editor for the notebook
10 years ago
..
_testdata Add tests for attachments insert menuitem 10 years ago
base Create shortcut editor for the notebook 10 years ago
mockextension Squash some bugs and write unit tests 10 years ago
notebook wait for render events in markdown test 10 years ago
services run js tests with base URL 10 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 Merge pull request #1136 from minrk/close-restart-channel 10 years ago
test_files.py s/jupyter_notebook/notebook 11 years ago
test_hist.sqlite s/jupyter_notebook/notebook 11 years ago
test_nbextensions.py avoid writing nbextension config to user dir during tests 10 years ago
test_notebookapp.py implemented changes as discussed at PR 775, password generation moved to module 10 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 avoid writing nbextension config to user dir during tests 10 years ago
test_utils.py s/jupyter_notebook/notebook 11 years ago
util.js Use casper.open() instead of casper.start() to open the dashboard. 10 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.