How do I run all my PHPUnit tests?

后端 未结 5 1238
深忆病人
深忆病人 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:57

    I think forPHPUnit to decide to automatically run it it must follow a filename convention: somethingTest.php.

提交回复
热议问题