notebook/IPython/html/tests
Jason Grout d3bd5ac96a Fix error when overwriting a bad symbolic link installing an nbextension
The unit test fails before this fix and works after this fix.
Basically, if the already-installed symlink is a bad link, .exists()
returns False (so the existing link is not removed), while .lexists()
will return True (so the existing link is removed).
2015-01-28 23:54:24 +00:00
..
base fix highlight test for failed highlighting 2015-01-10 11:05:45 -08:00
notebook fix stop-on-error test 2015-01-18 13:23: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 toggle-buttons test 2015-01-16 17:43:06 -08:00
launchnotebook.py abstract some methods in contents service tests 2014-12-17 11:38:44 -08:00
README.md
test_files.py fix backward f, nb args for nbformat.write 2014-11-01 16:41:13 -07:00
test_hist.sqlite
test_nbextensions.py Fix error when overwriting a bad symbolic link installing an nbextension 2015-01-28 23:54:24 +00:00
test_notebookapp.py
test_paths.py don't enforce .ipynb extension in URLs 2014-12-19 12:42:28 -08:00
test_serialize.py test websocket-friendly binary message roundtrip 2014-10-15 12:23:33 -07:00
test_utils.py
util.js wait for new-notebook button to arrive 2015-01-23 15:07:25 -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.