Phing can't see PHPUnit

前端 未结 4 1811
遥遥无期
遥遥无期 2021-01-22 16:43

I\'m trying to setup a new Continuous Integration server that utilizes Phing and PHPUnit for automatically running test cases.

I\'ve installed Phing with Pear:



        
4条回答
  •  隐瞒了意图╮
    2021-01-22 16:53

    It looks like there are some actual issues with phing and the latest 4.x versions of PHPUnit: http://www.phing.info/trac/ticket/1091.

    So to fix the issue, I removed PHPUnit 4 and specified an older version:

    pear install phpunit/PHPUnit-3.7.35
    

    Phing and PHPUnit worked immediately at this point.

提交回复
热议问题