commit | 6b1c7f9b9ad85ea771ba2f51f432c55c8e55f70b | [log] [tgz] |
---|---|---|
author | Aparna Argade <aprsac@yahoo.com> | Sat Jan 25 09:34:41 2020 +0530 |
committer | Aparna Argade <aprsac@yahoo.com> | Tue Mar 31 16:39:05 2020 +0530 |
tree | 236b919c62c42794da3c4b3633ce9f975dbfe6b6 | |
parent | 1256981638e732400e39e7c16bb73de2bcd2de13 [diff] |
Bug 559531 - Add JUnit5 Support in SWTBot Support for JUnit5 includes- 1. Run tests through PDE- org.eclipse.swtbot.eclipse.core plugin gets the latest code from org.eclipse.pde.internal.junit.runtime plugin. 2. Run tests in headless mode- org.eclipse.swtbot.eclipse.junit5.headless plugin is added. It gets the latest code from org.eclipse.test plugin. UITestApplication.runTests method is overridden to run SWTBot test in non-ui thread. Minimum Execution environment for junit5 headless plugin is JavaSE-1.8. Headless operation of JUnit4 based older eclipse platforms is unchanged. 3. Capture screenshot on test failure- SWTBotJunit5Extension is added. JUnit5 based tests can use @ExtendWith(SWTBotJunit5Extension.class) to capture screenshot on failure. org.eclipse.swtbot.junit5_x plugin is added for the same. Minimum Execution environment for junit5_x plugin is JavaSE-1.8. 4. org.eclipse.swtbot.junit5 feature is added. It is included under update site's category.xml. Above JUnit5 components will be installed if 'JUnit5 Support' category is selected. SWTBot version is incremented to 3.0.0. Change-Id: Ib9cfdd6f783b9b5b801dcaf0468b85b42c45f695 Signed-off-by: Aparna Argade <aprsac@yahoo.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 .