Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Looking for a tutorial
Looking for a tutorial [message #892627] Thu, 28 June 2012 15:30 Go to next message
Aaron Digulla is currently offline Aaron Digulla
Messages: 258
Registered: July 2009
Location: Switzerland
Senior Member
Is there a good tutorial how I can use MoDisco when I don't know much about the tool?

Specifically, I'm looking for ways to check design constraints in my source code. An example could be that Locale.getDefault() must not be called anywhere - directly or indirectly.

Or how would I go about converting FindBugs/PMD rules to MoDisco?

Is it possible to analyze the source code with MoDisco and write unit tests that check such constraints?
Re: Looking for a tutorial [message #892685 is a reply to message #892627] Fri, 29 June 2012 04:12 Go to previous message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 603
Registered: July 2009
Senior Member
Hello,

You can find many presentations on MoDisco and a complete demo from: http://wiki.eclipse.org/MoDisco#Screencasts_.26_Slides
This should help you understand the capabilities of the framework.
Also, I recommend you to take a look to the MoDisco reference documentation (http://download.eclipse.org/modeling/mdt/modisco/nightly/doc/org.eclipse.modisco.doc/) to have a full view of the various provided components.

Generally, MoDisco will help you to obtain exploitable models out of your source code and provide you facilities to handle them more efficiently.
Then, you can use model transformation (http://www.eclipse.org/atl/) to navigate through your models and generate accordingly a new code model representing the unit tests to be produced.

Best regards,

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Previous Topic:no uml file from kdm
Next Topic:C/C++ Discoverer
Goto Forum:
  


Current Time: Wed Aug 27 11:23:27 EDT 2014

Powered by FUDForum. Page generated in 0.01666 seconds