Login   Register  
PHP Classes
elePHPant
Icontem

PHP Autotest: Run automated test again when project files change

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-02 (7 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 209 All time: 7,245 This week: 1,542Up
Version License PHP version Categories  
php-autotest 1.0.1BSD License5.3PHP 5, Testing
Description Author  

This class can run automated test again when project files change.

It can monitor directories of source files involved in the defined tests to detect any changes.

The class can run PHPUnit to execute all tests again if there are source files that were changed since last time.

Innovation Award  
PHP Programming Innovation award nominee
April 2014
Number 3


Prize: One subscription to the PDF edition of the PHP Architect magazine
PHPUnit is a popular tool frequently used by PHP developers for testing PHP projects.

You do not need to run tests of a project every time if the project files did not change.

This class can automate the execution of tests using PHPUnit only after your project files changed.

It is able to figure which files are used in the tests and checks if they changed to determine if the tests should be run again.

Manuel Lemos
Picture of Dmitry M. Merkushin
Name: Dmitry M. Merkushin is available for providing paid consulting. Contact Dmitry M. Merkushin .
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 30
All time rank: 362596 in Russian Federation Russian Federation
Week rank: 1555 Up42 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagebin (1 file)
Files folder imagesrc (1 directory)
Files folder imagetests (1 directory)
Files folder imagetests_fixtures (2 files)
Accessible without login Plain text file composer.json Data use Symfony/Console
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  bin  
File Role Description
  Accessible without login Plain text file autotest.php Appl. Application script

  Files folder image Files  /  src  
File Role Description
Files folder imageAutotest (5 files, 1 directory)

  Files folder image Files  /  src  /  Autotest  
File Role Description
Files folder imageConsole (2 files)
  Plain text file Autotest.php Class Class source
  Plain text file Config.php Class Class source
  Plain text file Extractor.php Class Class source
  Plain text file Runner.php Class Class source
  Plain text file Watcher.php Class Class source

  Files folder image Files  /  src  /  Autotest  /  Console  
File Role Description
  Plain text file Application.php Class Class source
  Plain text file Command.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageAutotest (5 files)

  Files folder image Files  /  tests  /  Autotest  
File Role Description
  Accessible without login Plain text file AutotestTest.php Test Unit test script
  Accessible without login Plain text file ConfigTest.php Test Unit test script
  Accessible without login Plain text file ExtractorTest.php Test Unit test script
  Accessible without login Plain text file RunnerTest.php Test Unit test script
  Accessible without login Plain text file WatcherTest.php Test Unit test script

  Files folder image Files  /  tests_fixtures  
File Role Description
  Accessible without login Plain text file Example1Test.php Test Unit test script
  Accessible without login Plain text file Example2Test.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%Total:209All time:7,245
 This week:0This week:1,542Up