About the Author

Chris Shiflett

Chris Shiflett is an author and speaker who leads the web application security practice at OmniTI.


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

php|tek

19 - 22 May 2009

At Sheraton Gateway Suites Chicago O'Hare, Chicago, Illinois.

OSCON

20 - 24 Jul 2009

At San Jose McEnery Convention Center, San Jose, California.

New Comments

Ronald wrote:

A little hard for a rookie like me, but useful. I also thought you'd like to know there is a grea...

Posted in A rev="canonical" HTTP Header
Alex wrote:

Aren't you forgetting that the session will expire if _write() is never called? That excludes ...

Posted in
Andy Mabbett wrote:

@Chris Shiflett, #4, belatedly: Google only accepts rel=canonical within the same domain. My s...

Posted in A rev="canonical" HTTP Header
Kenneth Udut wrote:

I've implemented this rev="canonical" idea on http://free.naplesplus.us in the hopes that it catc...

Posted in Save the Internet with rev="canonical"
Mark wrote:

After reading your article and all the comments, what I got out of this was that sessions are not...

Posted in

Browse Comments