karma-runner / maven-karma-plugin

Maven plugin for running tests using Karma.
Apache License 2.0
45 stars 26 forks source link

adding karmaExecutable as a parameter #12

Closed leftieFriele closed 11 years ago

leftieFriele commented 11 years ago

The plug-in currently only supports karma being installed globally. In order to support karma being installed in the local node_modules there needs to be an option to pass in the path to the executable. I know the karma documentation says you should install it globally, but that isn't always an option. Here is how you'd add the parameter to the plugin configuration:

${project.basedir}/node_modules/.bin/karma
kelveden commented 11 years ago

Sounds like a good idea to me. I'll get it into 1.4 - in Maven Central some time this week.

kelveden commented 11 years ago

1.4 has just been released to Maven Central. It'll take a few hours to sync. Sorry it's a bit later than I planned.

leftieFriele commented 11 years ago

No worries, thanks for getting it out there quickly!