<commit_before># phpci-casperjs

This PHPCI plugin allow you to launch casperjs tests

## Install

* First, install casperJS: http://casperjs.readthedocs.org/en/latest/installation.html

* Add demorose/phpci-casperjs in your composer.json:

```yml
[...]
    "require": {
        [...]
        "demorose/phpci-casperjs": "dev-master",
        [...]
    },
[...]
```

* Run composer install demorose/phpci-casperjs
* Copy javascript to PHPCI :

```bash
    cp /path/to/phpci/vendor/demorose/phpci-casperjs/Demorose/PHPCI/Plugin/js/casperJs.js /path/to/phpci/public/assets/js/build-plugins/casperJs.js
```

## Configuration Options

* **x_unit_file_path** - Path to xunit output. /tmp/casperOutput.xml by default.
* **tests_path** - Path to tests.
<commit_msg>Updates README with HiPay composer package name<commit_after># phpci-casperjs

This PHPCI plugin allow you to launch casperjs tests

## Install

* First, install casperJS: http://casperjs.readthedocs.org/en/latest/installation.html

* Add hipay/phpci-casperjs in your composer.json:

```yml
[...]
    "require": {
        [...]
        "hipay/phpci-casperjs": "dev-master",
        [...]
    },
[...]
```

* Run composer install hipay/phpci-casperjs
* Copy javascript to PHPCI :

```bash
    cp /path/to/phpci/vendor/hipay/phpci-casperjs/Demorose/PHPCI/Plugin/js/casperJs.js /path/to/phpci/public/assets/js/build-plugins/casperJs.js
```

## Configuration Options

* **x_unit_file_path** - Path to xunit output. /tmp/casperOutput.xml by default.
* **tests_path** - Path to tests.

{'fraction_non_alphanumeric': 0.15494791666666666, 'fraction_numerical': 0.0, 'mean_word_length': 3.3053221288515404, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3152079', 'n_tokens_mistral': 570, 'n_tokens_neox': 551, 'n_words': 108}