June 2017
Intermediate to advanced
536 pages
9h 49m
English
Running the test suite we have just written is as easy as executing the phpunit command within our project root directory.
Upon execution, phpunit will look for the phpunit.xml file and act accordingly. This means that phpunit will know where to look for the test files. Successfully executed tests show an output like the following screenshot:

However, the unsuccessfully executed tests show an output like the following screenshot:

We can easily modify one of the test classes, as we did with the preceding ViewTest, in order to ...
Read now
Unlock full access