Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Buckminster and fragments and unit tests
Buckminster and fragments and unit tests [message #520435] Fri, 12 March 2010 11:33 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
Not sure if this is the right place to post, as my question covers a few areas. I have setup a build with Buckminster and Hudson.

I have unit tests inside a "fragment" project (common for PDE apps). There are no dependencies on this fragment.

My buckminster build uses a CSPEC that points to the main feature of the PDE app. So I didnt expect that Buckminster would materialize the fragment into the workspace.

What is the best way to get the unit tests run as part of the process, without adding a dependency to the unit test fragment in the app?
Re: Buckminster and fragments and unit tests [message #520445 is a reply to message #520435] Fri, 12 March 2010 07:28 Go to previous messageGo to next message
Achim Demelt is currently offline Achim DemeltFriend
Messages: 160
Registered: July 2009
Senior Member
Hi Geejay,

I'd define a feature that includes your test fragments. You can then
materialize that feature into the workspace. This will keep your original
product clean from any test-related artifacts, while at the same time you
have a simple handle for the test stuff.

HTH,
Achim

Geejay wrote:

> Not sure if this is the right place to post, as my question covers a few
> areas. I have setup a build with Buckminster and Hudson.
>
> I have unit tests inside a "fragment" project (common for PDE apps). There
> are no dependencies on this fragment.
>
> My buckminster build uses a CSPEC that points to the main feature of the
> PDE app. So I didnt expect that Buckminster would materialize the fragment
> into the workspace.
>
> What is the best way to get the unit tests run as part of the process,
> without adding a dependency to the unit test fragment in the app?
Re: Buckminster and fragments and unit tests [message #520465 is a reply to message #520445] Fri, 12 March 2010 13:52 Go to previous message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
Cool thanks. I just created a CSPEC for the new feature component. Then I imported this into the same workspace and ran the tests. It all runs perfect.
Previous Topic:Aggregator eats CPU and runs forever at 5%... with 3 update sites
Next Topic:Buckminster fails to find bundles
Goto Forum:
  


Current Time: Tue Sep 21 05:54:11 GMT 2021

Powered by FUDForum. Page generated in 0.02333 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top