<commit_before>nbdiff
======

A diffing and merging tool for the IPython Notebook.

![Build-status](https://api.travis-ci.org/tarmstrong/nbdiff.png)<commit_msg>Updated readme with testing instructions<commit_after>nbdiff
======

A diffing and merging tool for the IPython Notebook.

# How to run the tests locally

The idea is that while the tests run in a browser-like environment, you can
execute them on the command-line. This also means that travis-ci.org can run
these tests automatically when you submit a pull request.

## How-to

Install node and npm.

In this directory, run:

    $ npm install

to install the dependencies.

To run the tests, run this. You should get the following output.

    $ grunt

    Running "qunit:files" (qunit) task
    Testing src/test/index.html ...OK
    >> 14 assertions passed (21ms)

    Done, without errors.

![Build-status](https://api.travis-ci.org/tarmstrong/nbdiff.png)
{'fraction_non_alphanumeric': 0.09477124183006536, 'fraction_numerical': 0.004357298474945534, 'mean_word_length': 3.7864583333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1131803', 'n_tokens_mistral': 295, 'n_tokens_neox': 274, 'n_words': 108}