Difference between revisions of "EPP/Package Testing"

From Eclipsepedia

< EPP
Jump to: navigation, search
m (Before starting Eclipse)
m (Running Eclipse)
Line 11: Line 11:
 
* Start the package with <tt>eclipse -consoleLog</tt> and watch the console for error messages.
 
* Start the package with <tt>eclipse -consoleLog</tt> and watch the console for error messages.
 
* Try to start the package with a wrong JVM version, e.g. 1.4 or GCJ - does it tell the user about the minimum required Java version?  
 
* Try to start the package with a wrong JVM version, e.g. 1.4 or GCJ - does it tell the user about the minimum required Java version?  
* Does the package start with the correct perspective?
+
* Does the package start with the correct perspective? (defined in the plugin_customization.ini of the branding plugin)
 
* Does it contain all necessary features?  
 
* Does it contain all necessary features?  
**Are there any errors in the Update Manager dialogs (or comparable p2 dialogs)?
+
**Are there any errors in the p2 dialogs?
 
* If the package contains the PDE feature:  
 
* If the package contains the PDE feature:  
 
**Does any plugin view show any errors?  
 
**Does any plugin view show any errors?  
Line 24: Line 24:
 
* Create a new project and test it.
 
* Create a new project and test it.
 
* Start the Eclipse Help. Does it contain the necessary help content?
 
* Start the Eclipse Help. Does it contain the necessary help content?
 +
* Try to install something on top of the package with p2 from the Galileo repository and check that Eclipse can be restarted.
  
 
==Individual Package Tests==
 
==Individual Package Tests==

Revision as of 03:13, 14 May 2009

Contents

General Package Tests

Before starting Eclipse

  • eclipse.ini: correct memory settings, any updates necessary?
    • Mac OSX: eclipse.ini in the correct place? eclipse/Eclipse.app/Contents/MacOS/eclipse.ini
  • configuration/config.ini: correct product (eclipse.product)?
  • plugins/org.eclipse.epp.package.PACKAGENAME_*/plugin_customization.ini: correct default perspective (org.eclipse.ui/defaultPerspectiveId)?
  • linux-packages: executable bits set on eclipse?

Running Eclipse

  • Start the package with eclipse -consoleLog and watch the console for error messages.
  • Try to start the package with a wrong JVM version, e.g. 1.4 or GCJ - does it tell the user about the minimum required Java version?
  • Does the package start with the correct perspective? (defined in the plugin_customization.ini of the branding plugin)
  • Does it contain all necessary features?
    • Are there any errors in the p2 dialogs?
  • If the package contains the PDE feature:
    • Does any plugin view show any errors?
    • Bundles that cannot be started?
  • About Dialog:
    • Does it show up with the correct version and build ID?
    • Any suspicious entries in 'Feature Details' or 'Plug-in Details'?
    • 'Configuration Details' - is the JVM running with the correct settings?
  • Open the Preferences dialog. Does it show any suspicious entries?
  • Create a new project and test it.
  • Start the Eclipse Help. Does it contain the necessary help content?
  • Try to install something on top of the package with p2 from the Galileo repository and check that Eclipse can be restarted.

Individual Package Tests

CPP Package

  • Create a 'Hello World' project
    • Try to compile it.
    • Try to run it.

Java Package

  • Create a simple Java project
  • Create a HelloWorld class and run/debug it.
  • Create a XML file and test the XML editor feature.
  • Is Mylyn present on the initial perspective?

Java EE Package

  • Create a new project
  • Is Mylyn present on the initial perspective?
  • Perform any or all of the smoke tests from WTP
  • Perform any or all of the smoke tests from RSE (need link)
  • Perform any or all of the smoke tests from DTP
  • Finally, use them all together :)

RCP Package

  • Create a small plugin project
  • Use the XML editor to edit one of the XML files.
  • Start the new plugin.
  • All source code plugins of the SDK available?
  • Is Mylyn present on the initial perspective?

Modeling Package

Reporting Package