Better way to integrate maven/qunit/phantomjs?

前端 未结 5 1930
旧巷少年郎
旧巷少年郎 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 20:57

    This is an old question, but I thought I would link to a project of mine that uses PhantomJS and QUnit to run with TestNG:

    The project is called qunit-testng. I also have a sample project that shows the library in use.

    Here's a screenshot of test output:

    enter image description here

提交回复
热议问题