Friday, September 28, 2007

JBoss JSFUnit and Static Analysis

I have been teaming up with Stan Silvert on JSFUnit lately. Most of the work I've completed centers around a few ideas I've had while writing code for the MyFaces project. It may not the lightest weight solution, but after all these years, having worked with ASP.net, Struts, Tapestry and Rails - I have found JSF to be the most testing friendly MVC framework. So much of the code base can be penetrated with plain unit tests - without a database connection, container or browser. This lies in part to the fact that JSF managed beans do not have to "implements SessionBean" or "< ActiveRecord::Base". Trade offs. Next up on my plate are a few static analysis tests for Facelets templates.

No comments: