##// END OF EJS Templates
Backport PR #6102: Add newline if missing to end of script magic cell...
Backport PR #6102: Add newline if missing to end of script magic cell The script magic %%cmd fails in IPython notebook if trailing newlines are omitted. In IPython console, %%cmd behaves correctly: ``` In [1]: %%cmd ...

File last commit:

r15262:24772f02
r17362:4baf299e
Show More
README.md
28 lines | 932 B | text/x-minidsrc | MarkdownLexer

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.