Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Swordfish Documentation: Running Swordfish Tooling System Tests
System Tests Using SWTBot
Swordfish tooling uses SWTBot for system tests. This page describes the prerequisites and detailed steps to run system tests for Swordfish tooling.
Prerequisites
- Eclipse 3.5
- Source files of Swordfish tooling in your workspace
Running System Tests
- Use a clean Eclipse installation.
- Install SWTBot from org.eclipse.swordfish.third-parties. To install using Eclipse point to {workspace}/swordfish-tooling/org.eclipse.swordfish.third-parties/swtbot/eclipse.
- Copy the files in the plug-in folders of orbit and pde.test.util to your Eclipse plug-in folder.
- Reload the target platform.
- Clean and build the project.
- Right-click on the file AllTests.java and click Run as SWTBot test.