Added a unit test for OmiseHelper.php class and added a Github workflow to run unit test on PR merge. A phpunit.xml configuration file is added. Previous test files under Test/Model/Api are moved under archive. We will improve those tests later. PR merge will also generate a new badge for code coverage that will be shown in the README.
1. Objective
Compute the code coverage automatically. Also, add Github workflow to run unit test on PR merge and setup to generate code coverage locally.
Jira Ticket: #252
2. Description of change
Added a unit test for OmiseHelper.php class and added a Github workflow to run unit test on PR merge. A
phpunit.xml
configuration file is added. Previous test files underTest/Model/Api
are moved underarchive
. We will improve those tests later. PR merge will also generate a new badge for code coverage that will be shown in the README.🔧 Environments: