Running Unit Tests with Ant from the Command Line

You run unit tests with Ant from the command line as follows:

  1. Open a command line window.
  2. Go to the directory where you have generated the code.
  3. Run the JUnit test task: Ant junit
  4. Check the output result.