Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

OSGi Test Launcher (JUnit) fails when launched from run history fails after renaming test class #1735

Open
gamerson opened this issue Jun 27, 2017 · 0 comments
Milestone

Comments

@gamerson
Copy link
Contributor

version: 3.4.0-RC1+

If you launch a osgi test run configuration once, then rename a Test class and then relaunch the same configuration (from run history) it will fail because in the launch configuration settings it has persisted the old class name and the bnd.junit.Activator fails to find the stale class name.

Steps the reproduce:

  1. create new enroute workspace
  2. create new test bundle from wizard
  3. Right click test bundle project and choose `Run as > Bnd OSGi Test Launcher (JUnit)

You will see green

  1. rename the ExampleTest class to something else FooTest
  2. Relaunch the existing "run launch" first Run history menu

You will get an error saying that it can't find test class ExampleTest

@bjhargrave bjhargrave added this to the Someday milestone Jan 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants