<commit_before>firefox-greenlight-tests
========================

Installation
------------

First make sure you have [pip](http://pip.readthedocs.org/en/latest/installing.html) installed.

It is recommended that [virtualenv](http://virtualenv.readthedocs.org/en/latest/virtualenv.html#installation) and [virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/en/latest/) be used in conjunction with firefox-greenlight-tests. Start by installing these.

Then:

    pip install firefox-greenlight-tests

Alternatively you may want to clone the repo for development:

    git clone https://github.com/mozilla/firefox-greenlight-tests.git
    python setup.py develop


Usage
-----

To run all tests:

    run-greenlight-tests --binary <path to firefox binary>

To run a specific test or directory of tests:

    run-greenlight-tests --binary <path to firefox binary> <path to test or directory>

For more options run:

    run-greenlight-tests --help<commit_msg>Add a link to library documentation in README.md<commit_after>firefox-greenlight-tests
========================

Installation
------------

First make sure you have [pip](http://pip.readthedocs.org/en/latest/installing.html) installed.

It is recommended that [virtualenv](http://virtualenv.readthedocs.org/en/latest/virtualenv.html#installation) and [virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/en/latest/) be used in conjunction with firefox-greenlight-tests. Start by installing these.

Then:

    pip install firefox-greenlight-tests

Alternatively you may want to clone the repo for development:

    git clone https://github.com/mozilla/firefox-greenlight-tests.git
    python setup.py develop


Usage
-----

To run all tests:

    run-greenlight-tests --binary <path to firefox binary>

To run a specific test or directory of tests:

    run-greenlight-tests --binary <path to firefox binary> <path to test or directory>

For more options run:

    run-greenlight-tests --help

Documentation
-------------

Documentation for the puppeteer libraries are hosted on [readthedocs](http://firefox-puppeteer.readthedocs.org/en/latest/).
{'fraction_non_alphanumeric': 0.13131790269248939, 'fraction_numerical': 0.0, 'mean_word_length': 3.9027777777777777, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5115796', 'n_tokens_mistral': 630, 'n_tokens_neox': 585, 'n_words': 182}