Difference between revisions of "WTP/Releng/Tests"
|Line 36:||Line 36:|
[[Category:Eclipse Web Tools Platform Project]][[Category:WTP Build Related| ]][[Category:WTP
[[Category:Eclipse Web Tools Platform Project]][[Category:WTP Build Related| ]][[Category:WTP Related| ]]
Revision as of 13:50, 15 April 2010
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.
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.
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.
As of Helios, there is a strong "standard text" requirement.
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.