Skip to main content

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.

Jump to: navigation, search

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

Line 1: Line 1:
 +
== Under Construction ==
 +
 
== Running the Legacy LRG ==  
 
== Running the Legacy LRG ==  
  

Revision as of 16:25, 6 September 2007

Under Construction

Running the Legacy LRG

Early in its existance, this product was tested with an in-house testing framework. A large number of tests are still available through this test framework. Testing is gradually being migrated to frameworks such as JUnit, but the GUI tool available in the legacy framework is still quite useful for testing. The code for this test framework is stored in the eclipselink.core.test project. Here is how to run it:

  1. Create a Java Application run target on the eclipselink.core.test project - I'll call it Testing Browser
  2. Use org.eclipse.persistence.testing.framework.ui.TestingBrowserFrame as the main class
  3. Add "-Xmx256m" as a VM argument
  4. Add the following to the classpath: (note these are listed by category and you may be able to run subsets of the tests without certain categories)
    1. JDBC
      1. your JDBC driver of choice
    2. JPA
      1. eclipselink.jpa.core
      2. eclipselink.
    3. Oracle Extensions

Copyright © Eclipse Foundation, Inc. All Rights Reserved.