Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merkushin/php.autotest
autotest for php written in php
https://github.com/merkushin/php.autotest
automation php phpunit testing-tools
Last synced: 3 months ago
JSON representation
autotest for php written in php
- Host: GitHub
- URL: https://github.com/merkushin/php.autotest
- Owner: merkushin
- Created: 2014-03-14T11:28:11.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2022-03-28T14:48:49.000Z (almost 3 years ago)
- Last Synced: 2024-09-27T21:41:04.380Z (4 months ago)
- Topics: automation, php, phpunit, testing-tools
- Language: PHP
- Size: 17.6 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/merkushin/php.autotest.png?branch=master)](https://travis-ci.org/merkushin/php.autotest) Autotest for PHP
===Requirements
---* PHP 5.3+
* PHPUnit
* Symfony/ConsoleInstallation
---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:
* ```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)
* ```suffix``` — suffix of the test namespace (optional, default value: Test)
* ```timeout``` — time between comparing files (optional, default value: 1 second)Example (assuming file is linked to bin directory):
```
autotest --cmd=/usr/local/zend/bin/phpunit --src_path=source --tests_path=MyTests --timeout=60
```