Unit tests can be performed by running phpunit in the root directory or inside /tests/unit.
phpunit
/tests/unit
Functional tests can be performed by running phpunit in the /tests/functional directory.
/tests/functional