Web应用程序测试技巧[关闭]

I am diving into the web application testing line(php ,ajax,javascript) and need some guidance. There is a lot of stuff in google.

Does anybody known any good links or tutorials to learn from. Any video tutorials that I can watch ?

For PHP testing you could check out the PHPUnit tutorial on the Pear site, and this video on CakePHP TV

For JS testing it might be worth looking at Google JS Test

Hope that's useful!

If you want to go for automated testing, then I would suggest using SELENIUM IDE. You should be able to find tutorials & videos to learn how to use it.

It might be worth trying a bit of Unit Testing with your PHP. You can take a look at http://www.simpletest.org/

Try out for

http://www.w3schools.com/

it will be helpful

For PHP testing there's a lot of automated testing framework that you can try out, here's a list of some of them.

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

Documentation for PHPUnit : https://phpunit.de/documentation.html


Codeception collects and shares best practices and solutions for testing PHP web applications. With a flexible set of included modules tests are easy to write, easy to use and easy to maintain. Codeception encourages developers and QA engineers to concentrate on testing and not on building test suite.

Documentation for Codeception : http://codeception.com/docs/01-Introduction


A php toolset to drive emergent design by specification.

Documentation for Phpspec : http://www.phpspec.net/en/stable/manual/introduction.html


highly extensible, highly enjoyable, BDD testing framework for PHP.

Documentation for Peridot PHP : http://peridot-php.github.io/docs/


atoum is a simple, modern and intuitive unit testing framework for PHP! It is completely standalone, everything is available and works out of the box.

Documentation for Atoum : http://docs.atoum.org/en/latest/


these are few of many many other php unit testing frameworks, you can check them all and choose for your self which one to use and which one is best for the job.