Prerequisites

You need install and configure phpunit before running tests.

Read installation instructions from official docs.

cp phpunit.xml.dist phpunit.xml
nano phpunit.xml

Run tests

phpunit