Running tests requires that you have complete vendors installed, so run
composer install
before running the tests.
You can run unit tests by calling composer test
from the repo root:
$ composer test
You can run API tests by calling composer test-api
from the repo root:
$ composer test-api