Environment and development tools: Difference between revisions

Jump to navigation Jump to search
m
Line 153: Line 153:
* Prepare the phpunit script:
* Prepare the phpunit script:
** For Linux: Rename the phpunit.php script to phpunit and replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php).
** For Linux: Rename the phpunit.php script to phpunit and replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php).
** For Windows: Replace the @php_bin@ string in it with the path to your PHP command-line interpreter and @bin_dir@ string with the path of the PHPunit directory.
** For Windows: Replace the @php_bin@ string in file phpunit.bat with the path of your PHP command-line interpreter and @bin_dir@ string with the path of the PHPunit directory.
** Edit your Path to inclulde PHPunit directory
** Edit your Path to inclulde PHPunit directory
** Make script runnable (chmod +x phpunit on Linux).  
** Make script runnable (chmod +x phpunit on Linux).  

Navigation menu