Affects Version/s: None
Fix Version/s: 2.1.0
Component/s: Camel Editor
Similar Issues:Show 7 results
ECLIPSE-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 ECLIPSE-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 ECLIPSE-956 [Fuse IDE]Cannot generate correct camel unit test case class for OSGi blueprint camel XML ECLIPSE-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 ECLIPSE-842 Fuse project created from camel-dpring archetype has 3 missing artifacts ECLIPSE-752 camel editor doesn't seem to work for new files ECLIPSE-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.