Project info for JUnitServlet

Share This Created 5 Aug 2001 at 15:51 UTC by Nygard.



This servlet is an extension to JUnit that allows you to run test cases by hitting a servlet. It grew out of my JavaWorld article "Test Infect Your Enterprise JavaBeans" (

What does this do?

Mainly, it lets you run unit tests that have a real application server context. Sometimes, there just isn't any way to avoid making calls to the application server. (For example, anything involving JNDI.) It simply isn't practical to create mock objects for an entire JNDI provider just to run unit tests. In fact, even if you did, your mock objects may have bugs of their own (introducing false negatives) or they might not duplicate "anomalies" in the real provider (introducing false positives).

What doesn't this do?

For more information about JUnit and unit testing, check out

License: GPL

This project has the following developers:

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page