Tuesday, March 29, 2005

More On Unit Testing

My JUnit presentation stirred some interest at my company. We are working on a lot of code that runs inside an application server. JUnit is not really meant for such apps, but there are extensions that are. The one that I pointed out in my presentation was Cactus. There were some other people touting JUnitEE today in email threads at work. Others quickly pointed out the many advantages Cactus has over JUnitEE, though I actually think other would probably be sufficient for testing EJB session beans, which is the most common thing we have to test. Cactus is better for web apps, and since we have a framework we've built for building web apps, it seems like a more logical choice.

No comments: