karma-runner / maven-karma-plugin

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

Project-local karma installation? #23

Closed jameshfisher closed 10 years ago

jameshfisher commented 10 years ago

It would be nice if this plugin did not rely on me installing karma globally. Is it possible to specify a path to a local karma installation?

jameshfisher commented 10 years ago

E.g. a way to specify the search path.

kelveden commented 10 years ago

Yep: you'll want something like <karmaExecutable>${basedir}/node_modules/.bin/karma</karmaExecutable> in your pom.

12 may give a bit more background.

jameshfisher commented 10 years ago

Excellent, thanks! That works.

Should this be in the example in the README?

kelveden commented 10 years ago

Good point about the README. Updated.