How do I run all my PHPUnit tests?

后端 未结 5 1154
深忆病人
深忆病人 2021-01-31 02:25

I have script called Script.php and tests for it in Tests/Script.php, but when I run phpunit Tests it does not execute any tests in my test file. How do I run all my tests with

5条回答
  •  后悔当初
    2021-01-31 02:38

    I created following phpunit.xml and now atleast I can do phpunit --configuration phpunit.xml in my root directory to run the tests located in Tests/

    
      
        
          Tests
        
      
    
    

提交回复
热议问题