Installed by Eclipse PDT, I do not have "Run As & # 8594; JUnit",

I installed Eclipse PDT and now I want to run the JUnit test in a Java project. Java perspective is used, but there are no parameters in the Run As element.

In the "Run Configurations" element, "start a new configuration" is disabled.

The tests are JUnit4 (the project is compiled using junit4.jar, but not with junit3.jar).

How can I get the option "Run As → JUnit"?

+3
source share
1 answer

If you look at the Galileo Packages Comparison page , you will see that the Eclipse Php distribution (one that has PDT features) does not include JDT features (Java development tools).

, "" , , "java" "Run as JUnit".

(, J2EE), PDT , .

+4

Source: https://habr.com/ru/post/1713546/


All Articles