Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Testing custom Eclipse text editors(Usability of Jubula for testing editor actions)
Testing custom Eclipse text editors [message #1038175] Wed, 10 April 2013 13:59 Go to next message
Reto Weiss is currently offline Reto WeissFriend
Messages: 7
Registered: June 2012
Junior Member
I'm about to implement a custom Eclipse text editor, for a specific language, based on EMF models. In order to test the UI stuff of my editor, i.e. folding/unfolding, syntax highlighting, context actions, etc. I'm looking for a decent test tool.

As far as I'm aware of, Jubula is not really built to test (text) editing operations.
Do I miss something?
Re: Testing custom Eclipse text editors [message #1038187 is a reply to message #1038175] Wed, 10 April 2013 14:19 Go to previous messageGo to next message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

You are right, there is only very limited support for checking of text formatting, highlighting etc in standard Jubula. On the other hand, it is fairly simple to write an extension to support this. This isn't done in plain Jubula because all those special features are non-standard, i.e. every application has its very own solution.

- Achim
Re: Testing custom Eclipse text editors [message #1038229 is a reply to message #1038187] Wed, 10 April 2013 15:25 Go to previous messageGo to next message
Reto Weiss is currently offline Reto WeissFriend
Messages: 7
Registered: June 2012
Junior Member
Thanks a lot for the fast response.

It's not only about Syntax highlighting. If I record some actions (I know, recording/playback is not want we are aiming at), I realize that whatever I do within a text editor's (StyledText) widget, is simply ignored. Selecting text, folding/expanding text regions, using the context menu, just to name a few.

All that tracking/control of an editor, had to be provided by my extension, is that correct?
Re: Testing custom Eclipse text editors [message #1038245 is a reply to message #1038229] Wed, 10 April 2013 15:57 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Yes, that is correct. Observation would be an extra difficulty since you would have to generate an abstraction from multiple single UI actions. Definitely not for the faint of heart!

For most use cases support for actions and verifications is sufficient and reasonable easy to implement. If you know how to do it you are in the 3 days ballpark.

- Achim
Previous Topic:A problem when I import a project
Next Topic:Download older version of jubula
Goto Forum:
  


Current Time: Sun Dec 22 06:20:42 GMT 2024

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

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

Back to the top