title: Easiest way to unit test SWT and Swing apps in a headless environment?
body: <p>I'm looking to unit test some SWT and Swing code for a project I'm working on and the tests run fine as long as I'm running them from eclipse.</p>
  
  <p>As soon as I run them in my hudson environment it fails since hudson runs the tests in headless mode.</p>
  
  <p>What's the best way of doing this?  Open source solutions only please (since the project is open source).</p>