Bug 173586 - We could have a small test suite for Orbit bundles
Summary: We could have a small test suite for Orbit bundles
Status: RESOLVED FIXED
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 189719 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-08 23:38 EST by David Williams CLA
Modified: 2007-10-17 16:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2007-02-08 23:38:22 EST
The objective wouldn't be to test the code, but just make sure the build process was at least mostly correct. The following are some examples: 

Test to be sure number of bundles is greater than or equal to previous number built. 

check that each bundle has an about.html file, a plugin.properties, file (and/or anything else that each plugin must have). 

Test to be sure the bundle can at least be activated.
Comment 1 DJ Houghton CLA 2007-06-20 15:35:03 EDT
I have created a new project org.eclipse.orbit.releng.tests and released it to the repository. 

Currently it contains code which accepts a configuration file containing regular expressions for the files which are expected to be in the bundles. Still need a good way to pass in arguments. (like input dir)

The act of running the test is not currently hooked into the build.
Comment 2 DJ Houghton CLA 2007-06-20 15:35:55 EDT
*** Bug 189719 has been marked as a duplicate of this bug. ***
Comment 3 DJ Houghton CLA 2007-10-17 16:58:43 EDT
Tests re-enabled and released.
See bug 206681 for future enhancements.
Closing.