Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once added, we can specify how PHPUnit will be loaded:

  • Use custom loader when using Composer , autoloader and specify the path to autoload.php in a vendor directory, e.g. set it to vagrant/vendor/autoload.php referring to the mount point of the shared project folder.
  • Provide the path to phpunit.phar which should be present on the remote machine
  • When installed through PEAR (obsolete for PhpUnit < 5), we can load it from the include path. Note that PHPUnit should be installed using PEAR on the remote server (or Vagrant/Docker machine).

...