klaviyo / php-klaviyo

PHP wrapper for the Klaviyo API
59 stars 48 forks source link

Update phpunit config to work with code coverage #51

Closed loevgaard closed 3 years ago

loevgaard commented 3 years ago

This PR allows developers to generate code coverage by running: vendor/bin/phpunit --coverage-html=build. Notice that you need xdebug (or some other coverage tool) enabled to run this command.

Here is an image of the current state of code coverage:

image