Better way to integrate maven/qunit/phantomjs?
问题 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: qunit resources (JS/CSS files) qunit test html files (one for each file under test) with html fixture if required index html file which references the test html files as an ordered list of hyperlinks PhantomJS runner file, which: opens the index html file and parses out list of test files opens each test file takes a screenshot