Closed nittka closed 9 years ago
I think these are all great improvements. I encourage you to use Xtend, I prefer it also. (It will incur some overhead on the build process, when there will be one, but I think it's worth it.)
Thanks for the contribution!
I added the junit fragment to the workflow file. You have to rerun the language infrastructure generation. Then all compile errors should go away.
Here are some first possible improvements for the integration tests.
For Xtext tests I quite like using Xtend. Simple models to test can be defined within the xtend file as rich string. This is more convenient than having all input as external file or having to create the multi-line string in Java. Also the test infrastructure might be updated with cool new features of the xtext.junit-framework (run with GuiceRunner, injecting parse and validation helpers etc., see e.g. https://github.com/AKSW/Xturtle/blob/develop/de.itemis.tooling.xturtle.tests/src/de/itemis/tooling/xturtle/parsing/ParserTest.xtend)