JUnit is a unit testing package for Java language and can be used to test Oracle ADF application as ADF is built on top of the J2EE framework. Unit testing is basically is a process to verify the smallest testable module against some defined test criteria. Here I am going to illustrate that how can we set up and use JUnit in JDeveloper 126.96.36.199 to test ADF application.
JDeveloper 188.8.131.52 comes with JUnit extension so no need to install it separately. Let’s start by creating a Fusion Web Application in JDeveloper IDE. Here I am taking Departments table of default HR Schema to prepare the model for ADF Application.
Next step is to create a new project to hold unit tests so that whole application doesn’t look ambiguous. Right click on the Application name and select: Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.