Activating Fitnesse HtmlUnit Fixtures

Fitnesse is an extendable testing framework. It is possible to write your own testing types known as fixtures, and call the new test types through Fitnesse tables. This allows Jenkins to run alternative tests than the ones available.

This recipe shows you how to integrate Functional tests using an HtmlUnit fixture. The same approach can be used for other fixtures as well.

Getting ready

This recipe assumes that you have already performed testing with the Fitnesse recipe.

How to do it...

  1. Visit http://chrispederick.com, and download and unpack HtmlFixture-2.5.1.
  2. Move the HtmlFixture-2.5.1/lib directory to the FitNesseRoot directory.
  3. Copy HtmlFixture-2.5.1/log4j.properties to FitNesseRoot/log4j.properties.
  4. Start Fitnesse. ...

Get Jenkins Continuous Integration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.