I have got this query from an internal customer
I’m using the maven-surefire-plugin to run tests on my ADF-BC components. However, the following always returns null:
- Configuration.createRootApplicationModule("com.oracle.irt.core.am.AppModule", "AppModuleTest");
The same tests run successfully when run through JDeveloper.
User has an ADf fusion web app, with BC4J model and a viewController project.
In this case he has downloaded the ‘BC4J JUnit Integration’ extension and written a Unit test for testing the BC4J application module.
The BC4J components are using a database connection.
When maven runs the test phase for the Model project. It only has the model project build output and the libraries used by the project in its classpath.
1. Is it possible to run this test outside or Jdeveloper? Like as part of Ant/Maven build? (My guess is it should be)
2. What should the classpath have for this test to run fine?