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 19:30 Go to next message
Aaron Digulla is currently offline Aaron DigullaFriend
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 08:12 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 612
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: Fri Nov 28 20:43:58 GMT 2014

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

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