Git Product home page Git Product logo

Comments (16)

glatuske avatar glatuske commented on July 29, 2024 1

I plan to contribute support for JUnit Plug-in and SWTBot tests.

Is there recommendation for the Xtext version which should be used?

from lcdsl.

mduft avatar mduft commented on July 29, 2024 1

https://mduft.github.io/lcdsl-latest has been updated with the 0.3.0 version which includes #36 - Thanks @glatuske for the contribution!

from lcdsl.

mduft avatar mduft commented on July 29, 2024

This is still an open point. Unit tests are right now not supported. All dependencies are there, it's just a TODO... contributions of course more than welcome :)

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Yay, great! :) I currently use Xtext 2.19.0, but I assume it would work with slightly different versions without any change. If you need smallish guidance through the code, feel free to contact me anytime :)

from lcdsl.

glatuske avatar glatuske commented on July 29, 2024

I used 2.19 too. That results in small changes in almost every generated file.
Is there a general minimal required Eclipse version? Probably this would restrict the Xtext version.

The major implementation part is already done. I'm still want to update the documentation and fix some issues on auto completion. Because I did the implementation as part of a hackathon at my company, I need an approval for the contribution. So I hope, I can provide you the first version for review before Christmas.

from lcdsl.

mduft avatar mduft commented on July 29, 2024

This is great to hear! Are you on Windows? Maybe line endings (I'm on Linux)? Or is it actual code changes? Whatever it is, as long as the generated code works we're fine here IMHO :) Eagerly awaiting the pull request!

from lcdsl.

glatuske avatar glatuske commented on July 29, 2024

I'm working on Windows. I'll check the line endings. But I think it's more about the comment in each Java file:
/*

  • generated by Xtext 2.19.0
    */

from lcdsl.

mduft avatar mduft commented on July 29, 2024

OK. As long as you're based of off the current master, I'm OK with all the files changing :)

from lcdsl.

miklossy avatar miklossy commented on July 29, 2024

Hello Markus!

In your LcDsl presentation on the EclipseCon Europe 2018 (at 17:50 minute) you mentioned that it is possible with LcDsl to specify environment variables to run automated ui tests on different display. I would like to run the Xtext Domainmodel example (File -> New -> Example... -> Xtext Examples -> Xtext Domain-Model Example) Plug-in Tests (org.eclipse.xtext.example.domainmodel.ui.tests) on the secondary display.

Could you please help me how to define such a launch configuration in LcDsl?

Thank you very much for your help in advance!

Tamás

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Hi. You're right, I said that :) but we were (are) not using Plug-in Test Launch Configurations. Our tests run as "normal" eclipse launch configuration. LcDsl still has no support for Unit Test Launch Configurations at all right now - it needs to be added...

from lcdsl.

miklossy avatar miklossy commented on July 29, 2024

Do you know how to configure that using the standard Eclipse Launch Configuration mechanism? Once I make it work using the standard way (without LcDsl) , I can add this support to LcDsl as well.

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Unfortunately we're not using actual 'tests' at all - we're using a plain Eclipse application to run our custom test framework, so no, sorry :|

from lcdsl.

miklossy avatar miklossy commented on July 29, 2024

Maybe you can help me how it is possible to make a plain Eclipse application run on a secondary display?

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Sure, on linux you need to set DISPLAY in the launch configuration like this:

environment DISPLAY=":5";

Then start a Xephyr or Xvfb on :5 before launching - this should do the trick...

from lcdsl.

miklossy avatar miklossy commented on July 29, 2024

Thanks, I will give it a try!

from lcdsl.

mduft avatar mduft commented on July 29, 2024

Fixed by #36

from lcdsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.