HTML and CSS Reference
Figure 3.1 Running tests with YUI Test.
unit testing spec, which we will look into when testing a Node.js application in
In-browser testing frameworks are unfit to support a test-driven development pro-
cess where we need to run tests frequently and integrated into the workflow. An
alternative to these frameworks is headless testing frameworks. These typically run
from the command line, and can be interacted with in the same way testing frame-
works for any other server-side programming language can.
most originating from either the Java or Ruby worlds. Both the Java and Ruby
communities have strong testing cultures, and testing only half the code base (the
server-side part) can only make sense for so long, probably explaining why it is these
two communities in particular that have stood out in the area of headless testing