Then we can rerun the build on Jenkins using “Build now”, and confirm it now works,
as in
Figure 20-11.
Figure 20-11. The outlook is brighter
Jenkins uses blue to indicate passing builds rather than green, which is a bit disappoint‐
ing, but look at the sun peeking through the clouds: that’s cheery! It’s an indicator of a
moving average ratio of passing builds to failing builds. Things are looking up!
Running Our QUnit JavaScript Tests in Jenkins with
PhantomJS
There’s a set of tests we almost forgot—the JavaScript tests. Currently our “test runner”
is an actual web browser. To get Jenkins to run them, we need a command-line test
runner. Here’s a chance to use PhantomJS.
Running Our QUnit JavaScript Tests in Jenkins with PhantomJS
|
381