I have maven configured to run gunit (an ANTLR grammar unit testing tool) through the maven-gunit-plugin.  gunit, however, has two different modes.  The first mode causes gunit to act as an interpreter, reading through the *.gunit (or *.testsuite) file, interpreting it, and displaying the results.  It can be configured as such:
  <plugi...
            
           
          
            
            I am trying to make unit tests for multiple return values in Antlr. I have regular unit tests working using gunit. However, I am not too sure what to do with the junit Testgrammar.java file that is generated as per the instructions at http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing
I've tried running:
java -cp "./...
            
           
          
            
            Here's a simple gunit test for a portion of my tree grammar which generates a flat 
list of nodes:
objectOption walks objectOption:
    <<one:"value">> -> (one "value")
Although you define a tree in ANTLR's rewrite syntax using a caret (i.e. ^(ROOT child...)), gunit matches trees without the caret, so the above represents a tree and i...
            
           
          
            
            Given a Maven project generated by : 
mvn archetype:generate -B -DarchetypeGroupId=org.antlr \
  -DarchetypeArtifactId=antlr3-maven-archetype \
  -DarchetypeVersion=3.2 \
  -DgroupId=com.yourcompany \
  -DartifactId=yourproject \
  -Dversion=yourversion \
  -Dpackage=com.yourcompany.package.path
cf : http://www.antlr.org/wiki/display/...