Make the 'sample' project use the SELECTIVE test policy (related to #310)

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Extend the NPM support

Allow registering the output stream (disabled by default). This is required to when the tool just write stuff on the output stream and not error stream.
Provide a way to execute an NPM tools which does not have 'binary' in its package.json

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix typo.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #309 - unit test support

Add the support of Karma to execute JavaScript unit test
Support the watch mode for Karma tests

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Extend the sample application to illustrate the karma tests

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Apply filtering on Karma configurations.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Rename Karma Mojo

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Create a ChameleonReferenceHolder keeping a reference on the running chameleon

Wisdom-Test now uses this class to keep the Chameleon instance, which can be reused by the Karma tests.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Allow using 'additional properties' when filtering resources

With this method, we don't use the MavenSession.getExecutionProperties() method which is deprecated.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add the Mojo to execute Karma Test in the integration test phase

It starts a Chameleon and execute Karma tests.
The Karma configuration file can use "${hostname}", "${httpPort}" and "${httpsPort}" to configure its proxies

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add an escape string ("\") when filtering expression

So \${basedir} -> ${basedir}

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Document Karma integration

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>