Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to write JUnit tests for Graphiti?
How to write JUnit tests for Graphiti? [message #556446] Wed, 01 September 2010 11:28 Go to next message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 201
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 11:55 Go to previous messageGo to next message
Tim Kaiser is currently offline Tim KaiserFriend
Messages: 118
Registered: July 2009
Senior Member
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 11:55]

Report message to a moderator

Re: How to write JUnit tests for Graphiti? [message #556455 is a reply to message #556450] Wed, 01 September 2010 12:11 Go to previous message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 201
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 11:55 Go to previous message
Tim Kaiser is currently offline Tim KaiserFriend
Messages: 118
Registered: July 2009
Senior Member
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 12:11 Go to previous message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 201
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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: Sat Apr 20 02:23:50 GMT 2024

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

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

Back to the top