Skip to content

php-technolog/php.autotest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Autotest for PHP

Requirements

  • PHP 5.3+
  • PHPUnit

Installation

Download and unpack php.autotest.

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:

  • cmd — path to phpunit (optional, default value: phpunit)
  • src_path — path to your source code (optional, default value: src)
  • tests_path — path to your tests (optional, default value: tests)
  • timeout — time between comparing files (optional, default value: 5)

Example (assuming file is linked to bin directory):

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

About

autotest for php written in php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published