Test suit is a collection of test cases. PHPUnit can compose a test suit by recursively traversing through a directory in the file system.
In our previous example, we have saved our test case files in the directory tests
.
PHPUnit can execute all the test cases in the directory tests
as a test suite with the given below command
$ ./vendor/bin/phpunit tests
The result of the above command is given below :
Comments on this post