Home > Developer Guide > Tools
civi-test-run
civi-test-run is a script which runs one or more test suites locally. It is compatible with civibuild-based deployments.
Installation
civi-test-run is included within buildkit.
Usage
Run without arguments to see the exact usage:
$ civi-test-run
Test types
The test type is one of:
all- Run all standard CiviCRM test suiteskarma- Run the KarmaJS test suitephpunit-api- Run theapi_v3test suitephpunit-civi- Run theCivi/test suitephpunit-crm- Run theCRMtest suitephpunit-e2e- Run theE2Etest suiteupgrade- Run the upgrade test suite