Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/Testing/SDO"

(Running the SDO Junit tests)
(Running the SDO Junit tests)
Line 3: Line 3:
  
 
== Building the SDO Junit tests==
 
== Building the SDO Junit tests==
 +
 +
20071023
  
 
== Running the SDO Junit tests==
 
== Running the SDO Junit tests==
  
Source checked out into Eclipse workspace
+
* '''Running within an Eclipse Workspace
 
Prerequisites:
 
Prerequisites:
# Eclipse installed with subversion pluggin
+
# Eclipse installed with the subclipse pluggin
# eclipselink.core and eclipselink.lib checked out into workspace
+
# Required projects eclipselink.core and eclipselink.lib checked out into workspace
 
# eclipselink.sdo, eclipselink.sdo.lib and eclipselink.sdo.test checked out into workspace
 
# eclipselink.sdo, eclipselink.sdo.lib and eclipselink.sdo.test checked out into workspace
  
 
The SDO test suite is written using JUnit.  It consists of a set of jars that contain various tests and resources. The SDO tests are contained in the eclipselink.sdo.test project
 
The SDO test suite is written using JUnit.  It consists of a set of jars that contain various tests and resources. The SDO tests are contained in the eclipselink.sdo.test project
...in progress
+
 
 
# Navigate to the <workspace>/eclipselink.sdo.test directory
 
# Navigate to the <workspace>/eclipselink.sdo.test directory
# Run the build.xml in base directory of sdo.test.  This will compile in order eclipselink.core, eclipselink.sdo and eclipselink.sdo.test.
+
# Run the sdo.test/build.xml by typing "ant".  This will compile in order eclipselink.core, eclipselink.sdo and eclipselink.sdo.test.
 
# View results in the reports subdirectory
 
# View results in the reports subdirectory
  
Source checked outside of Eclipse workspace
+
* '''Running within a Subversion
 +
Prerequisites:
 +
# Eclipse installed with subversion for out-of-workspace projects
 +
# Required projects eclipselink.core and eclipselink.lib checked out into workspace
 +
# eclipselink.sdo, eclipselink.sdo.lib and eclipselink.sdo.test checked out into workspace
  
 
# Create your own view directory - for example "c:/myview/"
 
# Create your own view directory - for example "c:/myview/"
 
# Check out the SVN project for SDO into this directory
 
# Check out the SVN project for SDO into this directory
 
# Navigate to the eclipselink.sdo.test directory
 
# Navigate to the eclipselink.sdo.test directory
# Run ant build.xml
+
# Run sdo.test/build.xml by typing "ant"
 
# View results in the reports subdirectory
 
# View results in the reports subdirectory

Revision as of 09:41, 24 October 2007

Summary

This page is intended to outline the setup and execution steps required to successfully run the SDO JUnit tests - It is currently undergoing the first draft as of 20071019.

Building the SDO Junit tests

20071023

Running the SDO Junit tests

  • Running within an Eclipse Workspace

Prerequisites:

  1. Eclipse installed with the subclipse pluggin
  2. Required projects eclipselink.core and eclipselink.lib checked out into workspace
  3. eclipselink.sdo, eclipselink.sdo.lib and eclipselink.sdo.test checked out into workspace

The SDO test suite is written using JUnit. It consists of a set of jars that contain various tests and resources. The SDO tests are contained in the eclipselink.sdo.test project

  1. Navigate to the <workspace>/eclipselink.sdo.test directory
  2. Run the sdo.test/build.xml by typing "ant". This will compile in order eclipselink.core, eclipselink.sdo and eclipselink.sdo.test.
  3. View results in the reports subdirectory
  • Running within a Subversion

Prerequisites:

  1. Eclipse installed with subversion for out-of-workspace projects
  2. Required projects eclipselink.core and eclipselink.lib checked out into workspace
  3. eclipselink.sdo, eclipselink.sdo.lib and eclipselink.sdo.test checked out into workspace
  1. Create your own view directory - for example "c:/myview/"
  2. Check out the SVN project for SDO into this directory
  3. Navigate to the eclipselink.sdo.test directory
  4. Run sdo.test/build.xml by typing "ant"
  5. View results in the reports subdirectory

Back to the top