3.4M5 - cannot launch Junit Plugin tests using application [message #251323] |
Sat, 09 February 2008 07:48 |
Eclipse User |
|
|
|
I just upgraded to 3.4M5 and tried to run my junit tests. They use an
application, not a product. Instead of running with the desired RCP
application, they were starting with the IDE. In the debugger I tracked
it down to the fact that the generated config.ini file had an
eclipse.product property pointing to the IDE. My 3.3 installation (and
3.4M4) did not do this.
It seems that something changed between M4 and M5 to put the
eclipse.product property in the config.ini when it should not be there.
Also, there seems to be a problem of not using the correct location for
the configuration area. I
1) delete the entire contents of
workspace/.metadata/.plugins/org.eclipse.pde.core, and start eclipse clean.
2) run a Junit plugin test (generate config.ini, clear config, specifies
test application not product), and the test fails because it uses the
IDE application instead of my RCP application.
3) I run a different Junit plugin test case and it runs using the
configuration location of the first test case. I tried it a couple more
times, they all share the same configuration location.
I filed bug 218424 about this.
|
|
|
Powered by
FUDForum. Page generated in 0.03859 seconds