Saturday, September 18, 2004

In-Container Testing with JUnit

In-Container Testing with JUnit: "Developer: J2EE and OpenSource

In-Container Testing with JUnit
by Julien Dubois

Learn how in-container testing with JUnit is superior to mock objects for integration testing, how to apply that technique using Oracle JDeveloper.

Today, unit testing is a very popular technique for ensuring code quality. Thanks to the JUnit framework, it has become quite easy to write unit tests for simple Java applications. However, where real-world enterprise applications are concerned, the typical JUnit testXXX() method will not be as helpful because those applications require that objects run inside a container."

No comments: