There are two ways you can run unit tests generated. One is running Ant task. The other is running them in Eclipse.
Running Unit Tests with Ant
To generate the Ant build.xml file, you need to select the Generate Ant build.xml file in the Java code generation options tab.