DSL Unit testing [message #698108] |
Mon, 18 July 2011 19:41 |
Michel Simeon Messages: 130 Registered: December 2009 |
Senior Member |
|
|
A test project gets automatically created by the "New XText Project" wizard, and there are some indications in the documentation on how to proceed.
This is fine as far as testing the parser is concerned. But there is much more that I'd like to test, and I guess I am not the only one.
Is there documentation / tutorials / examples of testing the following:
- language infrastructure beyong the parser, namely scoping, data validation, value converter, content assist, templates, quicfix, ...
- code generator
- interpreter
In particular, I have an application that includes an XText DSL to specify various model elements in a MyDsl file, and then the user can select one element from the text file or from the outline, and then activate a command to get the model element evaluated and some reslults displayed in a web browser window. What is the best approach for testing ?
Regards
Michel
[Updated on: Tue, 19 July 2011 07:43] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02292 seconds