I have to check my grammar (written using Xtext). I see that this is possible using unit test, but I cannot find a good tutorial about this.
Can you help me?
There are several links about this.
The official manuals have a chapter on the special support of Xtext / Junit: Unit Testing the Language
Xtext-Utils contains several tools
Xpect provides DSL to uninstall DSL. Slides here (looks interesting)
Markus Voelter's “ DSL Testing ” slides explain the material.