WTP/Releng/Tests

From Eclipsepedia

< WTP
Revision as of 13:50, 15 April 2010 by David williams.us.ibm.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Overview

There are a number of tests that are ran as unit tests, after a build, that do some general sanity checks of the build, and compliance to requirements. These can cause "failures" in the releng test (and hence build). The more detailed logs can be found at the top of JUnit Details page.

Bundle Layout

This refers to a collection of checks for required, common or expected files. Certain errors have higher priority than others. And, remember, "missing" may indicate a mistake in the build.properties file.

  • Missing about.html files are considered blocking defects (for a release).
  • Missing properties files indicates that strings are not externalized.
  • The test for class or jar files is meant as a sanity check that the build worked as expected. There are many cases, though, where it is expected to have no class or jar files, in which case the bundle needs to be added to an explicit list of exceptions.

Provider Names

Our "Provider Name" for our features and plugins should always be "Eclipse Web Tools Platform".

There are certainly priorities to what needs to be fixed.

  • Features are more important than bundles
  • Missing or "symbolic variable names" are very bad.
  • Company names are horrible!
  • 'Eclipse.org' is incorrect, as of Galileo release, but since prior to Galileo that was the required provider name, so is not as bad as the other errors.

License Consistency

As of Helios, there is a strong "standard text" requirement.

Copyrights

Future: Checks to make sure there is a copyright associated with a bundle or feature. Long Term Maybe Future: Checks if each source file has a copyright at beginning.