dongliufa6380
2014-03-03 17:50
浏览 57
已采纳

Sublime Text 3 PHP UNIT

In Sublime Text 3 PHP Unit doesn't work. Bundle has installed correctly but plugin is inactive. Has anyone resolved the problem?

Thanks in advance.

图片转代码服务由CSDN问答提供 功能建议

在Sublime Text 3中,PHP单元不起作用。 Bundle已正确安装但插件处于非活动状态。 有人解决了这个问题吗?

提前致谢。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

3条回答 默认 最新

  • dp518158 2017-08-09 00:15
    已采纳

    I strongly suggest you to use this package which isn't available on Package Control:

    Sublime-PHPUnit

    You need to pull this in manually by navigating to ~/Library/Application Support/Sublime Text 3/Packages and paste it in. If you setup a few key binding, the workflow is very snappy. Watch this video for more info:

    Instant PHPUnit Feedback and Workflow

    点赞 评论
  • dongxie8856 2014-05-08 16:47

    At the time of writing, there is a working ST3 version in the develop branch:

    https://github.com/stuartherbert/sublime-phpunit/tree/develop

    I got it to work by cloning the develop branch into my {ST3}/Packages folder and then restarting ST3.

    At the time when I installed the plugin (a couple of months ago), the ST3 compatible version of sublime-phpunit was not available through Package Control, which is why I installed it with git.

    Hope this helps!

    点赞 评论
  • ds000001 2017-08-10 07:30

    Try PHPUnitKit, a Sublime Text plugin for running tests on different granularities. It's available on Package Control!

    FEATURES

    • Run Test File
    • Run Test Suite
    • Run Nearest Test
    • Run Last Test
    • Fully customisable configuration
    • Supports Composer installed PHPUnit
    • Supports colour results, diffs, errors, etc.
    • Jump to next and jump to previous failure

    PHPUnitKit

    点赞 评论

相关推荐 更多相似问题