notebook/IPython/html/tests
Jonathan Frederic ee64b60e69 Don't screenshot in the ImageWidget test,
instead verify that the base64 makes it to the page and
assume that the browser knows how render it correctly.
2014-07-25 11:21:52 -07:00
..
base use - for shortcut separators 2014-03-19 15:58:59 -07:00
notebook Merge pull request #6119 from minrk/global-events 2014-07-24 12:23:14 -07:00
services Whoops, put kernel.js in the wrong folder 2014-02-07 21:18:54 -08:00
tree test unicode path in dashboard_nav 2014-02-08 23:09:23 -08:00
widgets Don't screenshot in the ImageWidget test, 2014-07-25 11:21:52 -07:00
launchnotebook.py wait until dead *before* cleaning up the temp dir 2014-05-02 11:00:39 -07:00
README.md Updating JS tests README.md. 2014-02-09 14:15:54 -08:00
test_files.py Fixing test_files tests. 2014-02-05 15:41:28 -08:00
test_hist.sqlite mv IPython.html.notebook -> IPython.html 2013-06-27 11:14:10 -07:00
test_nbextensions.py test installing nbextensions with symlink 2014-02-14 15:02:02 -08:00
test_notebookapp.py capture logging in a few tests 2014-02-22 21:12:19 -08: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 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.