PHP language has a rapid development, it may not be as you remember, no longer have complex program code and a large system, reborn PHP has a full function, support object-oriented, namespace, and gradually increase the reusable code base. So, you now catch up with PHP the best time, you can better learn PHP, enhance your ability. Here are some of the best PHP automated testing frameworks that are worth using in 2015.
1, Selenium
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php01.jpeg "/>
Selenium automated testing, which is used for Web automation testing, but its functionality is certainly not limited to this point. There are already many browser vendors that will gradually support selenium. It is about to become a core technology.
2, PHPUnit
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php02.jpeg "/>
PHPUnit is a test framework for PHP programmers. This is an example of a unit test framework for the Xunit architecture. It can be used directly on the command line and provides us with a handy testcase class that we can scale to meet our needs.
3, Behat
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php03.jpeg "/>
Behat is a behavior-driven development (BDD) framework that allows you to write human-readable code that describes how your application should work. It is very fast and convenient to use, and easy to learn.
4, Codeception
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php04.jpeg "/>
Codeception allows us not only to write unit tests, but also to write functional tests and acceptance tests. The next two tests of the PHP application are bundled together as a whole, rather than distributed functionality. Codeception enables us to enable and configure different modules according to the development needs of our program. It integrates many PHP development frameworks, such as Symfony2, Laravel4, Yii, and Zend. This means that we can build an ultra-efficient development workflow with PHP's automated test framework and PHP development framework.
5, SimpleTest
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php05.jpeg "/>
SimpleTest is a very handy PHP unit testing framework in driver development, and it can be seen as an alternative to phpunit. SimpleTest supports SSL, forms, proxies, frames, and Basic authentication, which allows us to quickly test common PHP tasks.
6, Storyplayer
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php06.jpeg "/>
Storyplayer is a full stack test framework that allows it to write end-to-end testing for the entire platform. Storyplayer supports the ability to create and destroy test environments. It follows TDD's test approach, enabling us to write functional tests that can examine the entire process of an application.
7, Peridot
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php07.jpeg "/>
Peridot is a lightweight, extensible PHP testing Framework. It has a anevent driver architecture that allows testers to easily customize plugins. Peridot's usage instructions, whose syntax is to create a clear and recognizable test language to clearly describe how the code in our application should behave.
8, Phpspec
650) this.width=650; "alt=" PHP Learning "class=" Img-thumbnail "src=" Http://image.evget.com/images/article/2015/php08.jpeg "/>
Phpspec also follows behavior-driven testing methods, but its other subtype are known as SPECBDD. Using Phpspec we need to write the feature first to describe the role of code in the application.
This article is translated from codegeekz.com, reproduced please indicate this article reproduced from the HPE control network!
Recommended several of the best PHP automated testing frameworks