简体   繁体   English

如何使用安装在我的虚拟机上的 phpunit 在 Netbeans 上运行测试?

[英]How can I run tests on Netbeans using phpunit installed on my Virtual Machine?

I am very new to Netbeans IDE and PhpUnit tests (Sebastian Bergmann).我对 Netbeans IDE 和 PhpUnit 测试(Sebastian Bergmann)非常陌生。 I am using VM for my regular development which has git and phpunit installed in it.我正在使用 VM 进行常规开发,其中安装了 git 和 phpunit。 I have also written few tests and able to run them successfully on my VM.我还编写了一些测试并能够在我的 VM 上成功运行它们。

After installing Netbeans, I am having a hard time linking VM's phpunit to netbeans .安装 Netbeans 后,我很难将 VM 的 phpunit 链接到 netbeans 。 Because of this, it is not able to find the path for phpunit.因此,它无法找到 phpunit 的路径。

I would appreciate if someone can guide me to config Netbeans to use VM's phpunit and run tests like the way I can run on my VM?如果有人可以指导我配置 Netbeans 以使用 VM 的 phpunit 并像在我的 VM 上运行一样运行测试,我将不胜感激?

If that's the drawback of this IDE, then does any other PHP IDE support this functionality?如果这是这个 IDE 的缺点,那么还有其他 PHP IDE 支持这个功能吗?

Thanks in advance.提前致谢。

如果您的 NetBeans IDE 安装也在 VM 机器中,则该主题在Netbeans 站点上进行了介绍。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM