notebook/jupyter_notebook/tests
2015-05-10 19:19:59 -07:00
..
base update js version test 2015-04-21 15:37:08 -07:00
notebook move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00
services move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00
tree move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00
__init__.py move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00
launchnotebook.py set data_dir in tests 2015-05-10 19:19:59 -07:00
README.md move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00
test_files.py replace jupyter_nbformat by nbformat 2015-05-08 14:33:07 -07:00
test_hist.sqlite move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00
test_nbextensions.py remove SYSTEM_NBEXTENSIONS_DIRS 2015-04-30 12:44:29 -07:00
test_notebookapp.py Notebook is a JupyterApp 2015-04-21 15:37:07 -07:00
test_paths.py jupyter_notebook imports 2015-04-08 23:04:21 -07:00
test_serialize.py update dependency imports 2015-04-21 15:37:07 -07:00
test_utils.py check FILE_ATTRIBUTE_HIDDEN on Windows 2015-04-30 10:12:48 -07:00
util.js move IPython.html to jupyter_notebook 2015-04-08 23:04:17 -07:00

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:

iptest js

To run the JavaScript tests in a single subdirectory (notebook in this case) do:

iptest js/notebook

The file util.js contains utility functions for tests, including a path to a running notebook server on localhost (http://127.0.0.1) with the port number specified as a command line argument to the test suite. Port 8888 is used if --port= is not specified. When you run these tests using iptest you do not, however, have to start a notebook server yourself; that is done automatically.