Is there any test framework used to write eclipse GUI testcases? #1042
-
I am planning to contribute couple of fixes and when trying to write Junit testcase and was checking if any Framework is used for creating Eclipse GUI testcases which would save the time . Please let me know if I am correct |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Nothing in eclipse platform uses such gui testing libraries. In whole Eclipse TLP project there is only one plugin (https://github.com/eclipse-pde/eclipse.pde/tree/master/ui/org.eclipse.pde.ui.tests.smartimport) that uses RedDeer. |
Beta Was this translation helpful? Give feedback.
-
Indeed, Eclipse Platform code doesn't use much bots. There are issues with SWTBot that whenever the UI change, the test is likely to be broken (because SWTBot uses label, widget orders and other mutable things to locate the widget and interact; and also because it is all asynchronous while many tests in Platform require some finer synchronization work -wait for a build to finish, wait for something to render...). |
Beta Was this translation helpful? Give feedback.
Nothing in eclipse platform uses such gui testing libraries. In whole Eclipse TLP project there is only one plugin (https://github.com/eclipse-pde/eclipse.pde/tree/master/ui/org.eclipse.pde.ui.tests.smartimport) that uses RedDeer.