English 中文(简体)
NetBeans 测试文件和运行文件 diff
原标题:NetBeans Test File and Run file diff

在 Netbeans 创建程序并想要运行一个文件后, 右键单击鼠标和两个选项正在启用, 一个是测试文件, 另一个是运行文件。 区别在于什么, 因为我被混淆了这么多次 。

问题回答

I guess from your question that you want to code some c++ or java kind of program and you want to run them individually.
So, I suggest you to use special editor for every kind of development.
Netbeans generally used for big developments (but u can use it for a single file as well) and it helps in so many other aspects...(which I suppose you don t require).

在Netbeans, Run 可能有不同的含义,具体取决于您正在从事的项目类型。

In a Java project, Run file with a green arrow means running the main method of a Java class. You may even notice that the Run file option is grayed out if a class has not a main method.

在网络或企业项目中,这意味着将项目部署到相关应用程序或网络服务器上。

Test 选项是指一次运行单个文件的任何测试案例,或同时运行整个项目。测试案例通常由 JUM 或 TestNG 等单位测试库创建。如果您不知道哪个单位测试可以读到 < a href=>, http:// en.wikipedia.org/wiki/ United_ exerence" rel= “nofollown noreferr" > refer 。

我希望它能帮上忙





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签