diff --git a/docs/testing/phpunit.md b/docs/testing/phpunit.md index cd3d0078dbe6ae32f0c3ea7a22287a54e9cd6303..e682a9c4f51775052d7173f64db56c29a56c083a 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