Project

General

Profile

Actions

Debugging CiviCRM cheatsheet » History » Revision 1

Revision 1/45 | 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 over 6 years ago · 1 revisions