commit | e6cb5557c33f1ea8b03fdc049ff917c5d6f3c1b7 | [log] [tgz] |
---|---|---|
author | Patrick Tasse <patrick.tasse@gmail.com> | Mon Oct 05 11:13:15 2015 -0400 |
committer | Patrick Tasse <patrick.tasse@gmail.com> | Tue Oct 06 09:39:29 2015 -0400 |
tree | 43183d281c365ae7b8b223da548ec11b7c5e2fb3 | |
parent | 0f98dc41c15e448c57b8aa337e94cbe71418bc05 [diff] |
Speed up SWTBot tests in org.eclipse.swtbot.eclipse.finder.test package Instead of waiting for the Welcome view (which can time out) and closing it if it is found, iterate through all views and close the Welcome view if it is part of the list. Instead of waiting for the Window > Open Perspective > Java menu (which can time out) and clicking it if it is found, check first if the active perspective is not the Java perspective. Make all test classes in org.eclipse.swtbot.eclipse.finder.test extend AbstractSWTBotEclipseTest to reuse its @BeforeClass and @After code. Change-Id: Ie3aec0d45c6e2ce5ca304ed8f45e21ac7549b226 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
SWTBot is a Java API that interacts with SWT by using high-level operations. It is generally use to write UI tests efficiently since the grain of the API is the same grain as UI operation. It makes easier to transform a user scenario to an automated tests.
http://wiki.eclipse.org/SWTBot
GitHub tracker and pull requests are currently not supported by the contribution process.
Please read http://wiki.eclipse.org/SWTBot/Contributing to know how to interact well with the community. For further questions about contributing to SWTBot, please send a mail to swtbot-dev@eclipse.org .