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 Talks

ConFoo

10 - 12 Mar 2010

At Hilton Montréal Bonaventure, Montréal, Canada.

South by Southwest

12 - 16 Mar 2010

At Austin Convention Center, Austin, Texas.

Dutch PHP Conference

10 - 12 Jun 2010

At TBD, Amsterdam, Netherlands.

O'Reilly Open Source Convention

19 - 23 Jul 2010

At Oregon Convention Center, Portland, Oregon.

New Comments

Chris Shiflett wrote:

Glad it helped, Niall!

Posted in Git on Snow Leopard
Niall Kelly wrote:

Having tried other methods without success and looked through plenty of bloated documentation, th...

Posted in Git on Snow Leopard
liukang wrote:

I have problem with this example. In my php.ini magic_quotes_gpc is off so i'm using only addsla...

Posted in addslashes() Versus mysql_real_escape_string()
RyanTheGreat wrote:

Well, I'm not Chris, but I will do my best to address the questions raised in the comments by Ian...

Posted in Security Corner: Cross-Site Request Forgeries
Chris Shiflett wrote:

Thanks for the kind words, Simon. I'm glad you liked the tutorial. In case it's helpful, here'...

Posted in Webstock

Browse Comments


Work and Books

Analog Essential PHP Security HTTP Developer's Handbook