[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[buckminster-dev] Re: Headless (JUnit) launching
|
Hi Achim,
Great work! We are using the Buckminster JUnit Command and refactored JDT and PDE from Google Code for a few weeks already and they are
working great. I assume the JUnit version in the google svn is not quite up-to-date? I've made a few changes against it, mostly some logging
in the TestListener and catching some configuration and launching errors in the command itself, should you be interested in a patch.
Two questions of my own, though:
1) Are there any plans/has there been any discussion about providing JUnit support as an actor instead of/in addition to a command?
2) Do you have a good way to deal with platform-specific settings in your launch configurations? We would've really liked to have launch
configurations that we can use both on our development boxes and on the ci server, so we can be reasonably sure that the tests we execute
locally are configured the same as on the server. However that's a bit problematic in light of platform-specific plugins like swt and
filesystem. Right now we provide a template launch configuration that contains all platform-specific plugins from all platforms and copy
that to create new configurations. Do you have a better idea to handle that? We don't want to use "All plug-ins and features" in the unit
tests, because we want to isolate the tests and plug-ins under test as much as possible during unit-testing. And "Add required plug-ins"
only adds requirements for my current platform.
Best regards,
Carsten
On 03.09.2009 11:42, Achim Demelt wrote:
It seems that with Helios M2 we'll have all prerequisites for headless JUnit
launching available. I'll be ready to check in the Buckminster JUnit command
shortly after.
I have two questions, though:
1) If we build Galileo SR1 from trunk, I'd better not include the new bundle
in the o.e.buckminster.pde.headless feature, right? Otherwise I'll break the
build because of the 3.6 dependencies.
2) With a little extra effort --- and I mean _really_ little extra effort, <
4hrs --- I could provide not only JUnit launching, but _any_ kind of
launching from the headless workspace. Plain Java and OSGi launching will
come out-of-the-box. Launching any other kind of launch config will only
require that the respective LaunchConfigurationDelegates are installed in
the Buckminster headless host. What do think about that?
Regards,
Achim