First page Back Continue Last page Text

oracle adf workshop

Notes:


Testing Java Code with JUnit

JUnit is an open source regression-testing framework (see http://www.junit.org). It is more of a testing tool than a troubleshooting tool, but if you are developing an application of any complexity, it can be useful to create a suite of JUnit tests to quickly verify your Java code. For example, you can write a JUnit test for each ADF BC View Object to instantiate the View Object and execute its query.

JDeveloper provides two JUnit extensions: JUnit integration and JUnit integration for Business Components. To install these extensions, select Tools > Preferences > Extensions > Check for Updates.