From ef92bb2334afeef2ce4d6e785915af04c803abdc Mon Sep 17 00:00:00 2001 From: Tim Otten <totten@civicrm.org> Date: Fri, 23 Mar 2018 15:44:47 -0700 Subject: [PATCH] phpunit.md - Make "Binary" explanation more readable --- docs/testing/phpunit.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/testing/phpunit.md b/docs/testing/phpunit.md index cd3d0078..e682a9c4 100644 --- a/docs/testing/phpunit.md +++ b/docs/testing/phpunit.md @@ -6,10 +6,14 @@ [PHPUnit](https://phpunit.de/) tests ensure that CiviCRM's PHP logic is working as expected — for example, ensuring that the `Contact.create` API actually creates a contact. -## Binary +## Command name -PHPUnit provides a command-line tool. In [buildkit](/tools/buildkit.md), this tool is named `phpunit4`. In other environments, it might be -`phpunit` or `phpunit.phar`. +PHPUnit is a command-line tool, but the command name varies depending on how it was installed. For example: + +* In [buildkit](/tools/buildkit.md), this command is named `phpunit4`. +* In other environments, it might be `phpunit` or `phpunit.phar`. + +For the following examples, we'll use `phpunit4`. ## Suites -- GitLab