You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monkeyking/notebook/tests
Min RK a77d5c3133
fix carriage return handling
9 years ago
..
base fix carriage return handling 9 years ago
mockextension Backport PR #879: New nbextensions installation API 10 years ago
notebook Backport PR #1288: Correctly render markdown code blocks with unknown language 10 years ago
services Backport PR #1359: Update the session api in preparation for file and console sessions 9 years ago
tree handle non-empty base URL in dashboard test 10 years ago
README.md s/jupyter_notebook/notebook 11 years ago
__init__.py s/jupyter_notebook/notebook 11 years ago
launchnotebook.py Backport PR #1831: enable token-authentication by default 9 years ago
test_files.py s/jupyter_notebook/notebook 11 years ago
test_hist.sqlite s/jupyter_notebook/notebook 11 years ago
test_nbextensions.py Backport PR #1327: avoid writing nbextension config to user dir during tests 10 years ago
test_notebookapp.py Revert "Rebase PR 1468 : Allow root user to run tests" 10 years ago
test_paths.py s/jupyter_notebook/notebook 11 years ago
test_serialize.py s/jupyter_notebook/notebook 11 years ago
test_serverextensions.py Backport PR #1650: Load extension in predictable order. 9 years ago
test_utils.py s/jupyter_notebook/notebook 11 years ago
util.js Rework multiple selections to be continuous 10 years ago

README.md

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.