8

I have to test my grammar (written with Xtext). I've see it is possible with use of unit test, but I can't find a good tutorial about it.

Can you help me?

Keith Pinson
  • 7,835
  • 7
  • 61
  • 104
Tommaso DS
  • 211
  • 2
  • 14
  • A unit test verifies that some unit of code is compliant with the specification, usually beyond plain compiletime errors. What exactly do you want to *unit test*? – Andreas Dolk Nov 29 '12 at 06:26

2 Answers2

7

There are several links about this.

A.H.
  • 63,967
  • 15
  • 92
  • 126
0

Xpect seems to be the latest development in xtext testing. http://www.xpect-tests.org/

Magick
  • 4,603
  • 22
  • 66
  • 103