[antlr-interest] JUnit testing of ASTs

Paul J. Lucas pauljlucas at mac.com
Tue Dec 21 10:20:37 PST 2004


	Does anybody do JUnit regression testing on their parsers?  If
	so, how, exactly?

	For lack of anything better, *a* way of doing it is to have a
	set of files to parse and the pretty-printed output of the
	expected ASTs.  Then, when you run the tests, simply diff their
	output with the expected output.

	Anything better?

	- Paul



More information about the antlr-interest mailing list