Hello,
I've just started working with Plugin Builder to build my RCP Application.
I am currently working with the Eclipse Ganymede package and its Delta Pack. I've managed to build my product successfully and generate the zip file with the executable for several platforms. It was amazingly easy and works perfectly! Thanks for that.
However, I'm having some troubles running the JUnit 4 tests I have. I've followed the manual at: http://www.pluginbuilder.org/documentation/run-tests/
As well as the tutorial. It looks like it is very simple to have it working but all I've got is an Autotestsuite configuration that runs my product (not the tests). I am probably doing something stupid and/or wrong. I have my tests plugins and my tests features which I include in the autotestsuite configuration but nothing special happens.
It might be related to the use of JUnit 4 (which may be slightly different) or Eclipse 3.4 working system. Could anyone help me out?
Thank you very much for the amazing work!
Friendly,
Hugo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My team are currently using PluginBuilder's test support with Eclipse 3.4 and Junit 4 without problems.
Are you trying to run with an Autotestsuite launch script or as part of a headless build? We don't use the launch script support. If you are doing a headless build (with the generated build.xml file), then you can check the console output for errors or warnings from Autotestsuite.
You should see something about scanning plugins for test classes that match your inclusion/exclusion filtering.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I've just started working with Plugin Builder to build my RCP Application.
I am currently working with the Eclipse Ganymede package and its Delta Pack. I've managed to build my product successfully and generate the zip file with the executable for several platforms. It was amazingly easy and works perfectly! Thanks for that.
However, I'm having some troubles running the JUnit 4 tests I have. I've followed the manual at:
http://www.pluginbuilder.org/documentation/run-tests/
As well as the tutorial. It looks like it is very simple to have it working but all I've got is an Autotestsuite configuration that runs my product (not the tests). I am probably doing something stupid and/or wrong. I have my tests plugins and my tests features which I include in the autotestsuite configuration but nothing special happens.
It might be related to the use of JUnit 4 (which may be slightly different) or Eclipse 3.4 working system. Could anyone help me out?
Thank you very much for the amazing work!
Friendly,
Hugo
My team are currently using PluginBuilder's test support with Eclipse 3.4 and Junit 4 without problems.
Are you trying to run with an Autotestsuite launch script or as part of a headless build? We don't use the launch script support. If you are doing a headless build (with the generated build.xml file), then you can check the console output for errors or warnings from Autotestsuite.
You should see something about scanning plugins for test classes that match your inclusion/exclusion filtering.