notebook/IPython/html/tests
Min RK 1d7f8803e0 use ?download=1 to trigger download in /files/
sets `Content-Disposition: attachment...`

- master sets this unconditionally
- 2.x sets this iff file is a notebook
2014-10-31 15:45:30 -07:00
..
base IPython.{util->utils}.fixConsole() in html/tests/base 2014-10-20 11:12:10 +02:00
notebook Merge pull request #6693 from minrk/please-no-jsonp 2014-10-17 14:17:20 +02:00
services move binary msg test to services/serialize 2014-10-15 12:23:33 -07:00
tree minor fixes in dashboard tests 2014-08-27 13:51:49 -07:00
widgets Rebase fixes 2014-10-28 17:55:36 -07:00
launchnotebook.py Fix failure message for tests 2014-09-04 15:13:59 -07:00
README.md
test_files.py use ?download=1 to trigger download in /files/ 2014-10-31 15:45:30 -07:00
test_hist.sqlite
test_nbextensions.py
test_notebookapp.py
test_serialize.py test websocket-friendly binary message roundtrip 2014-10-15 12:23:33 -07:00
test_utils.py
util.js Fix an issue in the kernel_running function of the JS tests, 2014-10-21 16:43:30 -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.