Filewatcher File Search File Search
Content Search
» » » » »


Unit Test framework for ANTLR grammars

gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple way to write and run automated tests for ANTLR grammars in a manner similar to Java unit testing framework jUnit. The basic idea is to create a bunch of input/output pairs for rules in a grammar and gUnit will verify the expected output/result. The input can be a single line or multiple lines of strings or even an external file. The output can be simply success or failure, an abstract syntax tree (AST), a rule return value, or some text output which could be a rule's template return value. The current version of gUnit has 2 main functions, interpreter and jUnit generator. The interpreter interprets your gUnit script and runs unit tests using Java reflection to invoke methods in your parser objects. The generator, on the other hand, translates your gUnit script to jUnit Java code that you can compile and execute by hand.
Package version:3.2-7


antlr3 (3.2-7) unstable; urgency=low

  * Team upload.

  [ tony mancill ]
  * Remove Michal Koch from Uploaders. (Closes: #653985)

  [ James Page ]
  * Fix FTBFS with openjdk-7:
    - d/patches/java7-compat.patch: Target 1.5 instead of jsr14 which is
      not supported by Java 7.

 -- James Page <>  Sat, 23 Jun 2012 13:14:52 +0200

antlr3 (3.2-6) unstable; urgency=low



This package was debianized by John Leuner <> on
Tue, 2 Mar 2008 17:26:37 +0000.

It was downloaded from

Upstream Author: Terence Parr <>

Copyright: (C) 2003-2008 Terence Parr


    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions
    are met:


Browse inside libantlr3-gunit-java_3.2-7_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libantlr3-gunit-java_3.2-7_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017