[antlr-interest] announcing gUnit: ANTLR grammar unit testing

向秦贤 fyaoxy at gmail.com
Sat Aug 18 03:09:58 PDT 2007


current both not.
but can use -o option generate junit code which can be run in junit tasks.

<java classname="org.antlr.gunit.Interp">
<arg line="-o src/xy/object/notation/On.testsuite"/>
</java>
just gen junit code.


2007/8/18, 文少华 <shaohua.wen at gmail.com>:
>
> Does it have an Ant task like Junit?
> Can it generate xml/html report like junit?
>
> On 8/16/07, Terence Parr <parrt at cs.usfca.edu > wrote:
> >
> > Howdy.  Martin Bravenboer gave me a look at his nice grammar testing
> > facilities for a GLR-based parser generator (ASF+SDF) at OOPSLA last
> > year.  He inspired me to build one for ANTLR.  Fortunately, I found a
> > very capable graduate student, Leon Su, that was able to implement it
> > this summer.  Here is the wiki with code attached. :)
> >
> > http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing
> >
> > Please direct feedback to the group and/or Leon so we can improve
> > it.  I think you'll find it is a very nice tool.  Has both
> > interpreted and gUnit->jUnit code gen modes. :)
> >
> > Terence
> >
>
>


-- 
致敬
向秦贤
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070818/b566a7f3/attachment.html 


More information about the antlr-interest mailing list