tools/scripts/phpunit - Delegate to `phpunit` from `PATH`
authorTim Otten <totten@civicrm.org>
Thu, 21 Jan 2016 01:27:40 +0000 (17:27 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 21 Jan 2016 01:30:41 +0000 (17:30 -0800)
commit620c8b6e793bef048d568fd6966e0f28aa0e884d
treeb20ff077ca6f1fdaf696a282c7644d1538ffc752
parent622eeaa88f05df7e94928921c58c6fca88ff0ce8
tools/scripts/phpunit - Delegate to `phpunit` from `PATH`

Embedding a copy of PHPUnit within CiviCRM makes it really confusing when testing
extensions. For example, if an extension author tries to use `phpunit` directly, he'll
conflicts between his copy and the embedded copy.

The work-around has been to *always* use the embedded copy, but this is still confusing
because bootstrapping becomes complicated.

The goal here is to remove Civi's embedded copy of PHPUnit to avoid conflicts.

To preserve compatibility with existing test-documentation and test-scripts
(Jenkins), we leave behind a stub script in `tools/scripts/phpunit`.
tools/scripts/phpunit