How to unit Test for Xtext
Asked Answered
R

2

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?

Rectum answered 28/11, 2012 at 14:44 Comment(1)
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?Stamey
R
7

There are several links about this.

Ringler answered 28/11, 2012 at 19:40 Comment(0)
M
0

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

Muzzy answered 3/6, 2018 at 6:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.