Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Application Testing Guide
Previous Page Home Next Page

Testing plug-ins with JUnit

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.

Overview

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:

  1. Create and configure a plug-in project

    For this example, we create and configure a plug-in project named pluginProject.


  2. Creating a JUnit Plug-in test

    Create the test that will be used to test the plug-in.


  3. Creating a workbench location

    A workbench location is used to specify where a TPTP JUnit Plug-in test will run.


  4. Creating a deployment

    This section describes how to create a deployment for your test suite. The examples are set within the context of the Test perspective.


  5. Running a test

    There are a number of options available to run a test.


  6. Generating test reports

    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

Workbench location editor

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire