Run processing sketch without window?

Is it possible to run a processing sketch without having the applet window appear?
This would be very useful for extensively testing non-processing functionality inside the draw call.
The draw function should still be called of course, just without being displayed on screen.
Any suggestions?

Check for previous posts running Processing in headless mode. There is a wiki entry in Processing GitHub.