PHPUnit test suite include path

后端 未结 3 1794
迷失自我
迷失自我 2021-02-13 20:04

Using phpunit and I am having some trouble with include paths, not for phpunit itself, but for my code and tests directory.

I have the following code structure:

3条回答
  •  爱一瞬间的悲伤
    2021-02-13 20:43

    I know the question already been answer
    This answer is for future visitor

    According to phpunit documentation, u can use includePath directive in your phpunit.xml for your inclusion path

    
      /path/to/ur/project
    
    

提交回复
热议问题