如何在PhpStorm中为PHPUnit设置HHVM [英] How to setup HHVM for PHPUnit in PhpStorm

查看:109
本文介绍了如何在PhpStorm中为PHPUnit设置HHVM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用HHVM作为解释器在PhpStorm 8中运行单元测试?

How could I run my unit tests in PhpStorm 8 with HHVM as its interpreter?

PhpStorm 8支持支持HHVM的PHPUnit 4,我可以在带有HHVM的termianl上运行我的测试套件,但是我不知道如何配置PhpStorm 8以便在HHVM上运行我的单元测试.

PhpStorm 8 supports PHPUnit 4 which that supports HHVM and I could run my test suite on termianl with HHVM but I do not know how to config PhpStorm 8 in order to run my unit tests with HHVM.

推荐答案

现在由PHPStorm 8.0.2变为可能:

Now by PHPStorm 8.0.2 it becomes possible:

在PHP设置下,添加一个位于/usr/bin/hhvm/usr/local/bin/hhvm

Under the PHP setting, add a new interpreter located in /usr/bin/hhvm or /usr/local/bin/hhvm

这篇关于如何在PhpStorm中为PHPUnit设置HHVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆