Just in case some of you didn't notice, TheServerSide.com has
published a three part article on Container Driven Testing with
OpenEJB.

http://www.theserverside.com/articles/article.tss?l=ContainerDrivenTestingSeries

The article shows you how to use OpenEJB to automatically test EJBs as
part of a regular maven build without having to tie your tests to
OpenEJB specifically.  There are sections on testing Session and
Entities complete with example beans and real tests you can run.  A
must read for any OpenEJB user.

Another neat thing it shows you is how to run the validator tool as a
regular part of the build.  This is really cool as it allows you to
fail the build early when the beans are invalid and saves you the time
you would have spent testing and deploying bad EJBs.

Additionally, it shows you how to run your tests on both an embedded
OpenEJB server and a standalone OpenEJB server.

Even if you don't have time to read the whole thing, give it a quick
look over and see what's there for you.

Though the article uses Maven, the same thing could be done with Ant.

-David

Reply via email to