[antlr-interest] ANTLR and Unit Testing

Scott Amort jsamort at rogers.com
Mon Apr 3 16:49:25 PDT 2006


Rodrigo B. de Oliveira wrote:
> On 4/1/06, Scott Amort <jsamort at rogers.com> wrote:
> http://boo.codehaus.org/Writing+Tests

Thanks for the link, and thanks to Sohail as well for his response.

Is it correct to generalize then that most tests are conducted with the 
lexer/parser/treewalker as a whole (i.e. compile an input and compare 
the output with what you expect to get), instead of more focused tests 
at the individual class or function level?  Please forgive the possible 
naievity of the question, I'm quite new to the notion of unit testing.

Thanks again,
Scott



More information about the antlr-interest mailing list