Affects Version/s: None
Fix Version/s: 2.1.0
Component/s: Camel Editor
Similar Issues:Show 9 results
FUSETOOLS-547 Create Camel Junit Test Case FUSETOOLS-410 creating a new Camel Test case should auto-default the source folder (picking src/test/java or src/test/scala if it can be found) and default the package to the first package found if there's one available FUSETOOLS-42 create a new Camel Test Case wizard to make it really easy to auto-create a test case for a Camel Route you can then use to run/test the route FUSETOOLS-956 [Fuse IDE]Cannot generate correct camel unit test case class for OSGi blueprint camel XML FUSETOOLS-1188 allow new camel components to be easily added to a camel project (and used by the a camel editor) FUSETOOLS-750 New -> Fuse Project... should appear below the Project... menu bar option but appears 5th choice for me in Project Explorer, Java perspective, 2.1.457 FUSETOOLS-1231 create wizard for creating a new camel component FUSETOOLS-1233 New Project Wizard should open Camel Editor in Fuse Integration perspective FUSETOOLS-478 Create new unit test from camel-archetype-spring using fuse ide wizard, cause failure when running as junit test
When you use the create Camel Test Case, to create a junit test for your Camel app. Then at some point in the wizard it suggest to add JUnit 4 to the "classpath".
I think the first problem is that junit could already be added as a "Maven dependency".
Which I already have.
I have problem selecting the Camel XML file I want to use for creating an unit test.
If I select it using the wizard, the selection is not "returned" back to the main wizard. And thus its empty.
If I manually type the XML file name, it doesn't matter.
The generated source may look like (code to load XML file is not present, could be because of #2)
The import org.apache.camel.test.junit4.CamelSpringTestSupport; is from camel-test component.
So if the wizard could suggest or auto-add that dependency. But it should be added to the maven dependency in the pom.xml file.
I dont know if that is ever possible, as maven isn't native supported in eclipse.