| [news.eclipse.tools.buckminster] Re: Automated Testing of RCP Products with Buckminster |
Hi Johannes,
In our case the test job gets executed regulary and is a throw-aways product because the class files get instrumented with cobertura and stuff while the other job gets exectuted only manual in case of a release and only if the test job is stable, of course.
Ok. That makes a lot of sense for your use case.
That sounds reasonable to me. It actually shouldn't be much of a problem. Sticking to the mailapp example you could for example have an action similar to the create.product action (create.test.product) that creates the RCP at a different location and uses a different installable unit that contains the test fragments. Or you could use the same IU and simply install the feature containing the test fragments on top of that.
On the test product you may then run your plugin tests and hudson will make sure that the artifacts of the real product are only archived if the build run was stable (which will depend on your unit test results).
If you have any suggestions on how the buckminster plugin for hudson can support your workflow, please let me know.
Btw, unrelated to this topic, but since you're using hudson + buckminster as well:
I'm currently working on a feature for better target platform support in the hudson plugin. My idea was to have a build publisher similar to 'Archive Artifacts' that takes a directory to archive as well as a name under which this target platform will be made available.
In all other jobs that use a buckminster build step you may then select the available target platforms from a drop down box. That will cause the plugin to set the buckminster targetPlatformPath to the archived target platform and also introduces the job that creates the TP as an upstream project. That means: if you build the target platform again, all downstream projects (projects that reference this TP) will be build again.
Sounds useful to you? Any additional ideas for that?