notebook/IPython/html/tests
Jonathan Frederic 1797243f7a Fix tests
2014-08-28 11:09:55 -07:00
..
base
notebook Merge pull request #6197 from ivanov/set-text-rendered 2014-07-30 17:39:59 -07:00
services JS: close WebSockets when killing kernels 2014-08-13 14:21:14 -07:00
tree minor fixes in dashboard tests 2014-08-27 13:51:49 -07:00
widgets Fix tests 2014-08-28 11:09:55 -07:00
launchnotebook.py rename notebooks service to contents service 2014-07-31 11:57:36 -07:00
README.md
test_files.py
test_hist.sqlite
test_nbextensions.py
test_notebookapp.py
test_utils.py
util.js Merge pull request #6119 from minrk/global-events 2014-07-24 12:23:14 -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.