You run unit tests with Ant from PowerDesigner as follows:
- Select to open the Generation dialog.
- Enter a directory in which to generate the files, and specify
whether you want to perform a model check (see Checking an OOM).
- Select the Options tab.
- Set the Generate Ant build.xml file option to true.
- Select the Tasks tab.
- Check the Hibernate: Run the generated unit tests task.
- Click OK to begin generation.
- After you close the generation files list window, the JUnit task runs. You can see the result in output window.