PHP Classes

How to Implement PHP Automated Testing for Projects that Generate HTML Output - PHP HTML Test Case package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP HTML Test Case PHP HTML Test Case   Blog PHP HTML Test Case package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement PHP ...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: PHP HTML Test Case

PHPUnit is a popular PHP package to create test suites. It helps developing code that tests the quality of PHP projects.

This package provides classes that use PHPUnit testing features to test the HTML output of PHP projects.

This way, it simplifies the control of the quality of PHP projects that need to generate HTML output.




Loaded Article

About the PHP HTML Test Case Package

The package PHP HTML Test Case is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Extends PHPUnit to test HTML output

Here follows in more detail what it does:

This package provides PHPUnit to test HTML output.

It provides a sub-class of PHPUnit that can perform several tests to validate the HTML output generated by PHP code. Currently, it can:

- Validate whole HTML documents using the validation services at html5.validator.nu
- Checks if a string contains HTML tags
- Checks if a string contains a specific HTML tag
- Checks if a string contains a specific HTML tag and value
- Checks if a string contains a specific HTML tag and attribute
- Checks if a string contains a specific HTML tag with a given ID value
- Etc...

Conclusion

The PHP HTML Test Case can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice 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

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP HTML Test Case PHP HTML Test Case   Blog PHP HTML Test Case package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement PHP ...