About the Author

Chris Shiflett

Hi, I'm Chris, a web developer and a founding member of Analog. I live and work in Brooklyn, NY.


PHP Testing Tutorial at ApacheCon

With any luck, Geoff and I will be giving a PHP testing tutorial at this year's ApacheCon. Here's a snippet of the abstract:

Admit it - deep down inside, you know you should be testing your PHP applications. With all of the different PHP test environments and the daunting documentation, sometimes it is difficult to know where to start. This tutorial will help. The first step in testing is deciding what to test, so we will begin by offering a very simple (but not contrived) PHP application with identifying elements that lend themselves to testing - both unit tests and functional tests. Next, we will write some real tests using several of the existing PHP testing frameworks, including PHPUnit, Simple Test, phpt, and Apache-Test.

Unfortunately, testing hasn't really caught on in the PHP community for some reason, despite the existence of several useful tools and resources:

We need a few more people to register in order to have the opportunity to give this tutorial, so please sign up soon. If you do so before November 20, you get a $100 discount.

About This Post

PHP Testing Tutorial at ApacheCon was posted on Wed, 16 Nov 2005 at 07:21:38 GMT.

3 Comments

1. Keith Casey's GravatarKeith Casey said:

Those registration links don't seem to go anywhere.

I'd love to go and learn how to build solid PHPUnit tests, but alas East Coast to West Coast trips for conferences get to be pretty pricey quite quickly.

Wed, 16 Nov 2005 at 17:17:53 GMT Link


2. Chris Shiflett's GravatarChris Shiflett said:

Thanks, Keith. I fixed the links.

Fri, 18 Nov 2005 at 18:58:09 GMT Link


3. Chris Shiflett's GravatarChris Shiflett said:

Update: This tutorial has been scheduled, and our travel plans have been arranged. Hope to see you in San Diego. :-)

Fri, 02 Dec 2005 at 16:50:57 GMT Link


Post A Comment

Personal Details and Comment

Style Guide

Line breaks are converted to paragraphs. Also use:

  • <a href="" title="">text</a>1
  • <em>text</em>
  • <blockquote><p>text</p></blockquote>
  • <code>2  <?php  if ($foo) {      $foo = TRUE;  }  ?></code>
  1. Note: <code> can be used inline (e.g. in paragraphs) or in a block as shown. Include whitespace and newlines in blocks.

Please enter Chris (my first name) below. This is a primitive spam prevention technique, and I apologize for the inconvenience.

Preview and Submit

Upcoming Events

Brooklyn Beta

21 - 22 Oct 2010

At The Invisible Dog, Brooklyn, New York.

New Comments

Mario Arroyo wrote:

The article is really very good and the users comments and external links to another articles jus...

Posted in
Raphael Almeida wrote:

I realy like hiphop music, but this is very crazy! We'll use it in user group PHP conference at ...

Posted in PHP Anthem
Mal wrote:

Having used smarty for many years, this has never been a problem for me, but after building a web...

Posted in PHP Stripping Newlines
Satya wrote:

Thanks for the info. I have posted the news here on my page: http://www.facebook.com/pages/Web-Sc...

Posted in PHP Anthem
John wrote:

Oh, you need to press "save your password".

Posted in Mozilla Account Manager

Browse Comments


Work and Books

Analog Essential PHP Security HTTP Developer's Handbook