Better way to integrate maven/qunit/phantomjs?

前端 未结 5 1928
旧巷少年郎
旧巷少年郎 2021-01-31 20:16

I have been investigating the best way to do JS unit testing in our maven CI environment. What I currently have cobbled together is the following in my maven project:

5条回答
  •  醉话见心
    2021-01-31 21:11

    The phantomjs-maven-plugin provides an install goal for installing phantomjs so you don't need it pre-installed. After it installs phantomjs it sets a property with the path to the executable that other plugins can then use. It also has an exec goal for executing phantomjs scripts. Full disclosure: I wrote the plugin.

提交回复
热议问题