This document is principally concerned with the JUnit plug-in test process. As such, the document assumes that the reader is familiar with Eclipse plug-in development. If not, reference should be made to the Eclipse online Help Guides, Platform Plug-in Developer Guide and JDT Plug-in Developer Guide.
Where we do make specific reference to Eclipse plug-in development facilities or concepts, this is with a view to providing the reader with a context within which they can relate to the JUnit plug-in test process.
We are going to illustrate the JUnit plug-in test process by working through a simple example step-by-step.
There are various stages involved:
For this example, we create and configure a plug-in project named pluginProj.
Create the test that will be used to test the plug-in.
A workbench location is used to specify where a TPTP JUnit Plug-in test will run.
This section describes how to create a deployment for your test suite. The examples are set within the context of the Test perspective.
Deploying a JUnit plug-in test normally requires the creation and configuration of a workbench location.
There are a number of options available to run a test.
After you have run your tests and generated execution histories, you can generate a report on those test results to summarize the data.
Related concepts
JUnit Plug-in Test Suite Editor