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?
There are several links about this.
The official tutorials have chapter about special Xtext/Junit support: Unit Testing the Language
Xtext-Utils has some tools
Xpect provides a DSL for unittesting DSLs. Slides here (Looks interesting)
The slides of Markus Voelter " Testing DSLs " explain stuff.
Xpect seems to be the latest development in xtext testing. http://www.xpect-tests.org/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.