Forum Home » Enterprise Products » Fuse IDE

Thread: Blueprint Unit Testing

 

Permlink Replies: 1 - Last Post: Jun 14, 2012 10:46 AM Last Post By: lhein Threads: [ Previous | Next ]
warrenbailey

Posts: 33
Registered: 06/07/12
Blueprint Unit Testing
Posted: Jun 14, 2012 10:34 AM
  Click to reply to this thread Reply
I have a blueprint camel route that I wanted to unit test. Using Fuse IDE I attempted to automatically generate a unit test for it (i.e. right clicked on the xml file and selected "Camel Unit Test"). This appear to work I could select the blueprint.xml file and generate the unit test.

What I didn't notice at first is that the unit test generated by the Fuse IDE actually extends 'CamelSpringTestSupport' rather than 'CamelBlueprintTestSupport'. It appears that the Fuse IDE assumes the xml file is spring file and sets up the unit test accordingly.

Are there any plans to make this functionality aware of which dependency injection framework is being used?
lhein

Posts: 72
Registered: 11/18/08
Re: Blueprint Unit Testing
Posted: Jun 14, 2012 10:46 AM   in response to: warrenbailey in response to: warrenbailey
  Click to reply to this thread Reply
Thank you for reporting this issue. I created a Jira for that problem. You can track it here: ECLIPSE-777

It should be fixed in the next patch release.