Edit in GitHubLog an issue
Thanks to Vinai Kopp for contributing this topic!

PHP unit testing

Executing the unit tests is straight forward. They can be executed in several different ways.

Command Line Interface (CLI)

This option is useful for running the tests during Continuous Integration or on remote servers, or if no IDE with PHPUnit support is available. It only requires a minimum amount of setup.

Please refer to Running Unit Tests in the CLI for further information.

PhpStorm IDE

Running the tests inside an IDE like PhpStorm IDE is convenient for developers, since it allows for easier navigation in the code and debugging.

Other than convenience there is no benefit over running the tests on the console.

Please refer to Running Unit Tests in PhpStorm for further information.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.