Running Unit Tests with Ant from PowerDesigner:

You run unit tests with Ant from PowerDesigner as follows:

  1. Select Language > Generate Java Code.
  2. Select the Options tab.
  3. Set the Generate Ant build.xml file option to true.
  4. Select the Tasks tab.
  5. Check the Hibernate: Run the generated unit tests task.
  6. Click OK.
  7. After you close the generation files list window, the JUnit task runs. You can see the result in output window.