Project

General

Profile

Actions

Debugging CiviCRM cheatsheet » History » Revision 1

Revision 1/47 | Next »
Jon Goldberg, 09/26/2017 03:52 PM


Debugging CiviCRM cheatsheet

Command-line runs of PHPUnit:

From a buildkit civiroot, run a specific file's tests::

CIVICRM_UF=UnitTests phpunit4 tests/phpunit/CRM/Core/BAO/AddressTest.php

You can also limit to a single test by filtering on name:

CIVICRM_UF=UnitTests phpunit4 tests/phpunit/CRM/Core/BAO/AddressTest.php --filter testShared

Updated by Jon Goldberg about 7 years ago · 1 revisions