Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

petdance (2468)

petdance
  andy@petdance.com
http://www.perlbuzz.com/
AOL IM: petdance (Add Buddy, Send Message)
Yahoo! ID: petdance (Add User, Send Message)
Jabber: petdance@gmail.com

I'm Andy Lester, and I like to test stuff. I also write for the Perl Journal, and do tech edits on books. Sometimes I write code, too.

Journal of petdance (2468)

Tuesday July 23, 2002
11:37 AM

Worship and/or pity me: faking Perl with PHP

[ #6578 ]
I've been working on automated testing on our combined PHP/Perl project at The Day Job. PHP doesn't have anything nearly as sweet as Test::Harness and Test::More, so I've had to create my own Test::Harness::Straps subclass to handle PHP output, and a PHP version of Test::More to create the ok/not ok that we all know and love. It's been working fairly well for the past couple of months.

Now that I've got Test::HTML::Lint working, there's no reason that the PHP shouldn't be able to do the same thing, right? So I've now rigged up some PHP to emulate that by running the command-line version of weblint.

PHP has so clearly been designed by a committee, it pains me to try to find functionality. And they're just NOW getting around to opening pipes as file handles. :-(

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.