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 with JUnit

This type of JUnit test generates an execution history from which a report can be generated.

  1. Creating a Java project

    Create a Java project to contain the TPTP JUnit test.


  2. Creating JUnit tests

    You can create a TPTP JUnit test in one of two ways: manually or from an existing JUnit test case.


  3. Editing JUnit tests

    The JUnit Test Suite Editor can create and remove methods on a JUnit test, and control how those methods are invoked.


  4. Choose an option to run a test:

    • Running a test

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


    • Running a JUnit test remotely

      If you want to run a TPTP JUnit Test remotely, you must create and configure a test deployment. At a basic level, test deployments are entities which relate other TPTP entities, artifacts and locations in pairs.


  5. Analyzing test results

    When you run a test, the test results for the events are saved in a test log. Use the Test Log Editor to view and edit the test log.


  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
Testing applications


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