Run Unit Tests
You can easily run unit tests over phpUnit by using the package test CLI command. For example, you may run unit tests for all installed packages with the command:
apex test
You may also perform tests for a specific package with the command:
apex test my-package
This will only run the tests contained within the /tests/MyPackage/ directory.