dongtan3306
dongtan3306
2016-02-09 15:12

在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.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • doumisha5081 doumisha5081 5年前

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

    点赞 评论 复制链接分享