News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP in Action Blog:
Tips for web testing
February 13, 2008 @ 08:09:46

On the PHP in Action Blog, there's a this post that shares some tips for testing your web applications with some simple tests.

I just started listing the techniques I've learned when writing tests to exercise the web interface of a PHP application. This is from my experience and my personal preferences; it's not the final word or necessarily right for everyone.

He suggests:

  • Use SimpleTest's Web tester if you can
  • Test the web output using regular expressions
  • Use element IDs or names to test links, forms and fields
  • Log HTTP requests in the application
0 comments voice your opinion now!
web testing unittest simpletest regularexpression http request


blog comments powered by Disqus

Similar Posts

Mike Lively\'s Blog: Finally used PHPUnit and I like it

Richard Davey\'s Blog: Extreme Simplicity (or The Birth of a Comic)

SitePoint.com: Advanced PHPUnit Testing: Annotations and Mocking

Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 2

Lukas Smith's Blog: RC testing and the README.UPDATE


Community Events





Don't see your event here?
Let us know!


bugfix voicesoftheelephpant package podcast framework laravel opinion tips deployment list api install introduction series release interview symfony community library language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework