English 中文(简体)
我安装了Eclipse for PHP,但想添加Java/Jinit
原标题:I installed Eclipse for PHP, but want to add Java/JUnit

我已经为PHP开发人员安装了Eclipse,这是我需要的。然而,我也想进行Java/JUnit的开发。我期待看到“文件->;新->!JUnit测试用例”,但它不在那里。

我疯了吗?我试着浏览过Eclipse市场,但也没有看到。我已经下载了junit4.9b.JAR,并将其包含在我的项目中,但我正在Eclipse中寻找那个漂亮的JUnit视图,以及运行JUnit测试的集成方式。

I also found this: http://www.eclipse.org/downloads/download.php?file=/technology/swtbot/helios/dev-build/org.eclipse.swtbot.eclipse.test.junit4-2.0.4.20110304_0338-e5aff47-dev-e36.zip

…但不确定(a)这是否是我需要的,以及(b)如果是,如何安装。

My "File -> New" menu looks like this image: enter image description here

最佳回答

This looks very similar: JUnit Eclipse Plugin?

正如公认的答案所说,您应该能够将JUnit插件作为Java开发工具(JDT)的一部分。

看起来你也可以直接在这里下载JUnit插件,

http://download.eclipse.org/eclipse/downloads/drops/R-3.6.2-201102101200/index.php#JUnitPlugin

问题回答

暂无回答




相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.

热门标签