Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Writing unit tests for code written in my DSL
Writing unit tests for code written in my DSL [message #793756] Wed, 08 February 2012 14:25
John J. Camilleri is currently offline John J. CamilleriFriend
Messages: 33
Registered: November 2011
Location: Göteborg
Member
I'm using Xtext as the base for an Eclipse plugin for writing grammars using the GF language. The GF compiler is entirely separate; I am using Eclipse purely as an editing environment.

I want users of my plugin to be able to write unit tests for their GF grammars. I will write what happens when these tests are run, but it would be nice to have a UI similar to Eclipse's JUnit view.

Is there any way JUnit (or some other framework) can be used for this type of thing? Or do I basically need to write my DSL unit-testing view from scratch?

[Updated on: Wed, 08 February 2012 15:28]

Report message to a moderator

Previous Topic:How to iterate through a HashMap in Xtend?
Next Topic:trigger multiple generators from code
Goto Forum:
  


Current Time: Thu Apr 25 04:46:57 GMT 2024

Powered by FUDForum. Page generated in 0.02490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top