Skip to main content



      Home
Home » Modeling » Graphiti » How to write JUnit tests for Graphiti?
How to write JUnit tests for Graphiti? [message #556446] Wed, 01 September 2010 07:28 Go to next message
Eclipse UserFriend
Are there any guidelines available on how to write JUnit tests for editors built on top of Graphiti?

I mean JUnit tests that simulate the behavior of users, i.e. add pictograms, connections, move things around, load/save editor, etc.
Re: How to write JUnit tests for Graphiti? [message #556450 is a reply to message #556446] Wed, 01 September 2010 07:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

in Graphiti, we use SWTBot to test our framework, see
http://www.eclipse.org/swtbot/
You may have a look at our
org.eclipse.graphiti.bot.tests
plugin in the cvs repo to see how it is done.

Since we test our framework by testing some test tool on top of it, the same technique can be applied by any client of the framework.

Best, Tim

[Updated on: Wed, 01 September 2010 07:55] by Moderator

Re: How to write JUnit tests for Graphiti? [message #556455 is a reply to message #556450] Wed, 01 September 2010 08:11 Go to previous message
Eclipse UserFriend
Thanks, Tim. We will take a look at SWTBot.

Greetings,
Kaloyan
Re: How to write JUnit tests for Graphiti? [message #565972 is a reply to message #556446] Wed, 01 September 2010 07:55 Go to previous message
Eclipse UserFriend
Hi,

in Graphiti, we use SWTBot to test our framework, see
http://www.eclipse.org/swtbot/
You may have a look at our
org.eclipse.graphiti.bot.tests
plugin in the cvs repo to see how it is done.

Since we test our framework by testing some test tool on top of it, the same technique can be applied by any client of the framework.

Best, Tim
Re: How to write JUnit tests for Graphiti? [message #567752 is a reply to message #565972] Wed, 01 September 2010 08:11 Go to previous message
Eclipse UserFriend
Thanks, Tim. We will take a look at SWTBot.

Greetings,
Kaloyan
Previous Topic:How to write JUnit tests for Graphiti?
Next Topic:SDK Feature
Goto Forum:
  


Current Time: Tue Jul 08 18:51:31 EDT 2025

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

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

Back to the top