Coverage test

PHP

To run unit tests with code coverage, execute the following command:

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

As shown below in the test report, the models are covered around 90%, and the total number of executed tests is 141.

running unit tests with code coverage for PHP cmsRS system

Below is the report of unit and integration tests:

test report for PHP cmsRS system

Vue.js

To run unit tests with code coverage, execute the following command:

 ./test.sh coverage
running unit tests with code coverage for Vue.js

Below is the test report for Vue.js:

test report for Vue.js cmsRS system