FacesTester 0.3 Has Been Released

July 29th, 2009

After a lot of changes and a long delay, I’m pleased to announce that we have released FacesTester 0.3 tonight. This version has a large number of new features. Read on the for details. (more…)

Popularity: 3% [?]

FacesTester 0.2 Has Been Released

May 20th, 2009

Today we released FacesTester 0.2. While this release has a number of bug fixes and more minor enhancements, one of the biggest new features is injection support. (more…)

Popularity: 8% [?]

FacesTester Can Now Test State Saving

April 13th, 2009

In my experience, a pretty common bug with custom components is improper state saving. Since JSF components are, currently, stateful, it’s important that custom components integrate with the frameworks state saving mechanism correctly. Unfortunately, it can be an error-prone process, as it’s a manual effort. Now, however, custom component authors can use FacesTester to exercise this aspect of their components to help insure proper state handling. This article will show how to use this new feature of FacesTester. (more…)

Popularity: 11% [?]

Announcing FacesTester

March 3rd, 2009

One of the issues that has always troubled me with regard to writing JSF applications (or any web application, really) is how hard it is to test them. Some time ago, while discussing various Java web frameworks, I stumbled across a class called WicketTester, which is part of the Wicket project. Using this class, as best as I can tell, Wicket authors can easily test their applications very quickly. Having taken to hear the advice of Dale Hanchey, and old college professor of mine, “Never be too proud to steal a good idea,” FacesTester was born. (more…)

Popularity: 15% [?]

Unit Testing EJBs

March 27th, 2007

As we’ve done more and more EJB development, we’ve had to think pretty hard about how to unit test our beans. We’ve tried a couple of different approaches (including not testing, which I don’t recommend ;) , but weren’t ever just real comfortable with the results. I’m pretty happy with the method we’re using now, and it’s so simple, I’m a bit embarrassed that we didn’t think of it earlier. (more…)

Popularity: 34% [?]

With many thanks to Kaushal Sheth
`