notebook/IPython/html/tests
2014-11-15 08:49:45 -08:00
..
base IPython.{util->utils}.fixConsole() in html/tests/base 2014-10-20 11:12:10 +02:00
notebook update save test 2014-11-10 14:02:20 -08:00
services wait for kernel_ready after ws_closed_error 2014-11-08 19:23:20 -08:00
tree fix link-following logic in directory nav 2014-11-10 14:02:20 -08:00
widgets Address review comments 2014-11-15 08:49:45 -08:00
launchnotebook.py Fix failure message for tests 2014-09-04 15:13:59 -07:00
README.md Updating JS tests README.md. 2014-02-09 14:15:54 -08:00
test_files.py fix backward f, nb args for nbformat.write 2014-11-01 16:41:13 -07:00
test_hist.sqlite mv IPython.html.notebook -> IPython.html 2013-06-27 11:14:10 -07:00
test_nbextensions.py Remove separate 'path', 'name' in Contents API 2014-11-10 14:02:18 -08:00
test_notebookapp.py capture logging in a few tests 2014-02-22 21:12:19 -08:00
test_paths.py fix and test path regexes 2014-11-10 14:02:21 -08:00
test_serialize.py test websocket-friendly binary message roundtrip 2014-10-15 12:23:33 -07:00
test_utils.py Small refactoring of is_hidden to take root as default kwarg. 2014-02-05 16:43:11 -08:00
util.js Make all tests async display safe 2014-11-15 08:49:44 -08: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.