Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-11-22 (8 months ago) ![]() | Not enough user ratings | Total: 234 | All time: 8,039 This week: 205![]() |
Version | License | PHP version | Categories | |||
php-autotest 1.0.3 | BSD License | 5.3 | PHP 5, Testing |
Description | Author | |||
This class can run automated test again when project files change. Innovation Award
|
[](https://travis-ci.org/merkushin/php.autotest) 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: * ```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 ``` |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | use Symfony/Console | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data |
![]() |
/ | src | / | Autotest |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
Class | Class source | ||
![]() |
Class | Class source | ||
![]() |
Class | Class source | ||
![]() |
Class | Class source | ||
![]() |
Class | Class source |
![]() |
/ | src | / | Autotest | / | Console |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | tests | / | AutotestTest |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | tests_fixtures |
File | Role | Description |
---|---|---|
![]() ![]() |
Test | Unit test script |
![]() ![]() |
Test | Unit test script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.