Time for action – adding dependencies to the target platform

The target platform created in Chapter 10, Target Platforms, contained the necessary dependencies to build the plug-ins, but not to test them. To use the test cases in this platform, they need to be added. If the target platform isn't being used, just install SWTBot from the main update site; SWTBot has been part of the default Eclipse repository since Eclipse Mars.

  1. Open the com.packtpub.e4.target.mars.target platform definition.
  2. On the Definition tab, click on the Mars repository, and then click on Edit. This will allow other features to be added.
  3. Search for SWTBot and add SWTBot for Eclipse Testing, SWTBot for SWT Testing, and SWTBot IDE Features. Click on Finish to update the target ...

Get Eclipse Plug-in Development Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.