Implementing AbstractLanguageServerTest in Maven project [message #1827530] |
Sun, 17 May 2020 11:46  |
Eclipse User |
|
|
|
Hi there
Does someone know what one has to do to get the language server tests running in an Xtext project built with Maven?
In my Xtext project I develop an Eclipse plugin as well as the language server for VS code. Therefore, the Xtext project creation wizzard generates a Maven project (due to Eclipse plugin).
However, the generated Maven build is not able to execute Tests that extend the AbstractLanguageServerTest. I attached the simple "mydsl" example project here, with a language server test added to it.
The tests run perfectly fine in Eclipse, but the Maven build fails with a NullpointerException in the initialize method of the AbstractLanguageServerTest.
Any ideas how the Maven build has to be adapted for LSP tests? Has anyone such an Xtext project where this works?
Thanks for the help!
Stefan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05951 seconds