See the latest automated build, test, and coverage status at:


Install the test dependencies:

pip install "nbdime[test]"

Running tests locally

To run python tests, locally, enter:


from the project root. If you have Python 2 and Python 3 installed, you may need to enter:

python3 -m pytest

to run the tests with Python 3. See the pytest documentation for more options.

To run javascript/typescript tests, enter:

cd nbdime-web/
npm test

Submitting test cases

If you have notebooks with interesting merge challenges, please consider contributing them to nbdime as test cases!