Background Image
Table of Contents Table of Contents
Previous Page  409 / 478 Next Page
Information
Show Menu
Previous Page 409 / 478 Next Page
Page Background

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