dongtan3306
2016-02-09 15:12
浏览 99

在PHPStorm中保存文件时运行PHPUnit测试

I have configured PHPUnit on PhpStorm Version 8.0.3 and I was asking myself if it would be possible to run a Test each time I save a file or push it with git.

I searched on Google but didn't find any info about this.

I know it's possible to run the test manually after pushing it with git, but that's not what I'm looking for.

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

我在PhpStorm版本8.0.3上配置了PHPUnit,我问自己是否可以运行测试 每次我保存文件或用git推送它。

我在Google上搜索但没有找到任何关于此的信息。

我知道 用git推送测试后可以手动运行测试,但这不是我想要的。

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doumisha5081 2016-02-09 15:50
    已采纳

    Yes it's possible, you can use pre-push hook.
    But i think better don't do it...

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题