Coverage test

In order to invoke unit tests with code coverage, execute the following command:

./vendor/bin/phpunit --coverage-html  ../_cover/

As you can see below on the test report, models were covered around 90% and the total number of tests performed is 141.

invoking unit tests with code coverage

Unit test report:

Unit test report