<commit_before>wetator-maven-plugin
====================

This is a first try to implement a Maven plugin for running Wetator tests.

You can find the Wetator homepage at [http://www.wetator.org/](http://www.wetator.org/).

## Build Status ##
[![Build Status](https://travis-ci.org/fred4jupiter/wetator-maven-plugin.svg?branch=master)](https://travis-ci.org/fred4jupiter/wetator-maven-plugin)

## Usage ##
To use the plugin you have to add this to your Maven pom.xml plugins section:

    <plugin>
        <groupId>org.wetator</groupId>
        <artifactId>wetator-maven-plugin</artifactId>
        <version>1.0.2-SNAPSHOT</version>
        <configuration>
            <configFile>src/test/resources/wetator.config</configFile>
            <testFileDir>src/test/resources/wetator</testFileDir>
            <includePattern>
              <includePattern>**/*.wet</includePattern>
              <includePattern>**/*.wett</includePattern>
            </includePattern>
            <excludePattern>
              <excludePattern>**/modules/**</excludePattern>
            </excludePattern>
        </configuration>
    </plugin>

By default the plugin includes all *.wet, *.wett, *.xls, *.xlsx files within the 'testFileDir' folder.

To run the tests run:<commit_msg>adjusted version number in README<commit_after>wetator-maven-plugin
====================

This is a first try to implement a Maven plugin for running Wetator tests.

You can find the Wetator homepage at [http://www.wetator.org/](http://www.wetator.org/).

## Build Status ##
[![Build Status](https://travis-ci.org/fred4jupiter/wetator-maven-plugin.svg?branch=master)](https://travis-ci.org/fred4jupiter/wetator-maven-plugin)

## Usage ##
To use the plugin you have to add this to your Maven pom.xml plugins section:

    <plugin>
        <groupId>org.wetator</groupId>
        <artifactId>wetator-maven-plugin</artifactId>
        <version>1.0.3</version>
        <configuration>
            <configFile>src/test/resources/wetator.config</configFile>
            <testFileDir>src/test/resources/wetator</testFileDir>
            <includePattern>
              <includePattern>**/*.wet</includePattern>
              <includePattern>**/*.wett</includePattern>
            </includePattern>
            <excludePattern>
              <excludePattern>**/modules/**</excludePattern>
            </excludePattern>
        </configuration>
    </plugin>

By default the plugin includes all *.wet, *.wett, *.xls, *.xlsx files within the 'testFileDir' folder.

To run the tests run:
{'fraction_non_alphanumeric': 0.14702404414662987, 'fraction_numerical': 0.003941663381947182, 'mean_word_length': 2.940993788819876, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '4381109', 'n_tokens_mistral': 798, 'n_tokens_neox': 751, 'n_words': 161}