xtext-utils unit tests with Tycho? [message #832295] |
Thu, 29 March 2012 21:54  |
Eclipse User |
|
|
|
Hi!
I've got some XtextTest subclasses implementing unit tests on my DSL. It's awesome. But, unfortunately, I can not get them to run with Tycho builds or as a "JUnit Plug-in Test". This seems to be because the XtextTest.testFile(String) method assumes a file is given as a classpath and not a URI. Basically, it would be nice if we could provide a URI from our test plug-in fragment. Then I think it might work in Tycho:
testFile("platform:/plugin/com.my.plugin/resources/my.dmodel");
I was going to try checking out the xtext-utils source and possibly modify it, but it doesn't seem to be cloneable from the google code site (just a blank repository is cloned) - and it can not be browsed via google code either:
http://code.google.com/a/eclipselabs.org/p/xtext-utils/
Anyway, how is everyone else automating the execution of their xtext-utils unit tests? Thanks!
Joey
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26301 seconds