PHP Classes

How to Automate PHPUnit Testing When the Project Code File Changes - PHP Autotest package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP Autotest PHP Autotest   Blog PHP Autotest package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Automate PHPUn...  
  Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)  

Author:

Updated on: 2024-05-23

Posted on: 2024-05-23

Package: PHP Autotest

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 do not change.

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

It can determine which files are used in the tests and check if they changed to determine if the tests should be rerun.




Loaded Article

About the PHP Autotest Package

The package PHP Autotest is one of the few PHP packages that the PHP Classes moderator considers notable recently because it does something worth paying attention to.

The primary purpose is: Run automated test again when project files change

Here follows in more detail what it does:

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.

Conclusion

You can download the package from download page or install it using the PHP Composer tool following instructions in the Composer install instructions page.

The PHP site moderator considers this package notable for implementing its benefits in a way worth noticing.

Notable PHP packages can often be considered innovative. If this package is creative, it can get a nomination for the PHP Innovation Award, and the author may win prizes and recognition for sharing innovative packages.

If you also developed notable or innovative packages, consider sharing them to earn more visibility for your package and excellent prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,616,107 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

1. is this Pest compatible? - Craig Stanfield (2024-05-23 14:57)
is this Pest compatible?... - 0 replies
Read the whole comment and replies



  Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)  
  All package blogs All package blogs   PHP Autotest PHP Autotest   Blog PHP Autotest package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Automate PHPUn...