PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Dmitry M. Merkushin   PHP Autotest   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Autotest
Run automated test again when project files change
Author: By
Last change: Update of README.md
Date: 11 months ago
Size: 1,121 bytes
 

Contents

Class file image Download

Build Status Autotest for PHP

Requirements

  • PHP 5.3+
  • PHPUnit
  • Symfony/Console

Installation

Download and unpack php.autotest.

Download Composer (http://getcomposer.org) and run:

composer.phar install

Composer installs Console component

Optionally link bin/autotest.php to your /usr/bin like this:

ln bin/autotest.php /usr/bin/autotest

Usage

Run bin/autotest.php with optional params from the root of your application:

  • 
    
  • 
    
  • 
    

Example (assuming file is linked to bin directory):

autotest --cmd=/usr/local/zend/bin/phpunit --src_path=source --tests_path=MyTests --timeout=60