Difference between revisions of "WTP/Releng/Tests"

From Eclipsepedia

< WTP
Jump to: navigation, search
(releng tests)
 
(Provider Names)
 
(One intermediate revision by one user not shown)
Line 25: Line 25:
 
* Company names are horrible!  
 
* 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.  
+
* 'Eclipse.org' is incorrect, as of Galileo release, but prior to Galileo that was the required provider name, so it should be considered "minor" bug, if in bundle (a bug, but could ship with that bug).
  
 
=== License Consistency ===  
 
=== License Consistency ===  
Line 36: Line 36:
  
  
[[Category:Eclipse Web Tools Platform Project]][[Category:WTP Build Related| ]][[Category:WTP Test Related| ]]
+
[[Category:Eclipse Web Tools Platform Project]][[Category:WTP Build Related| ]][[Category:WTP Testing Related| ]]

Latest revision as of 13:52, 15 April 2010

Contents

[edit] 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.

[edit] 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.

[edit] 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 prior to Galileo that was the required provider name, so it should be considered "minor" bug, if in bundle (a bug, but could ship with that bug).

[edit] License Consistency

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

[edit] 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.