Name | Size | Modified | Last Commit | Author |
---|---|---|---|---|
/ IPython / html / tests | ||||
base | ||||
notebook | ||||
services | ||||
tree | ||||
widgets | ||||
README.md | 932 B |
r15262:24772f0273b2 |
|
|
__init__.py | 0 B |
r11033:fa36e98f0081 |
|
|
launchnotebook.py | 3.1 KiB |
r16538:2c5d8c3337ec |
|
|
test_files.py | 2.9 KiB |
r15103:246bd765ee65 |
|
|
test_hist.sqlite | 7.0 KiB |
r11033:fa36e98f0081 |
|
|
test_nbextensions.py | 9.5 KiB |
r15343:2790d6878d09 |
|
|
test_notebookapp.py | 2.5 KiB |
r15442:0073d6a2f7e0 |
|
|
test_utils.py | 2.9 KiB |
r15108:ab77a34bc91c |
|
|
util.js | 15.4 KiB |
r16781:f8f766d0f6c2 |
|
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.