Red Hat Bugzilla – Bug 649719
No run contexts are available after upgrading from F13 to F14
Last modified: 2015-06-21 20:07:33 EDT
Description of problem:
On F13 I could right-click on a JUnit class in Eclipse and elect to run the test as a JUnit test. Similar options were present when right-clicking on the test folders as well.
After upgrading to F14 using preupgrade, there are no longer any such options for running JUnit tests.
Version-Release number of selected component (if applicable):
(mcpierce@mcpierce-laptop:Podcast)$ rpm -qa *eclipse*
Steps to Reproduce:
1. Start Eclipse.
2. Right click on a JUnit test (3.8 or 4.0).
No option to run unit tests. The only option there is to create new runtime profiles.
An option to run as a unit test, as well as an applet or an application.
Can you reproduce after running eclipse -clean -debug -consolelog?
If yes please attach the log.
In order to have the menu item come up, I had to create a method whose name started with "test". Even though JUnit 4 says that tests only need to have the @Test annotation and can be named anything.
So you have only JUnit 4 tests?
Can you verify the behavior with upstream eclipse?
No response in a month.
Closing the bug.
Please reopen when you have more time to answer my questions so I can understand what the real problem is.