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

Mike Lively's Blog:
Finally used PHPUnit and I like it
May 22, 2006 @ 22:39:56

Mike Lively has taken a big step in his PHP development process, a move to using unit tests for his resulting code. In this new blog post he describes the experience - mainly how much he's enjoying it.

I have spent alot of time in testing using SimpleTest and I have also given some time to test-more.php. However, up until just recently I had honestly never used PHPUnit before. The big motivational factor for me (other than to try something new) was to see how the code coverage feature was coming along.

I would have to say that after a few weeks of tinkering with it I am impressed.

He mentions some of the notable features he's used as well as some of his surprisng finds along the way:

Using the framework is an absolute breeze and there is excellent documentation [...]. The most impressive part of this experience in my mind was how runnable the software is straight out of CVS.
tagged: use phpunit like simpletest unit test test-more.php use phpunit like simpletest unit test test-more.php

Link:

Mike Lively's Blog:
Finally used PHPUnit and I like it
May 22, 2006 @ 22:39:56

Mike Lively has taken a big step in his PHP development process, a move to using unit tests for his resulting code. In this new blog post he describes the experience - mainly how much he's enjoying it.

I have spent alot of time in testing using SimpleTest and I have also given some time to test-more.php. However, up until just recently I had honestly never used PHPUnit before. The big motivational factor for me (other than to try something new) was to see how the code coverage feature was coming along.

I would have to say that after a few weeks of tinkering with it I am impressed.

He mentions some of the notable features he's used as well as some of his surprisng finds along the way:

Using the framework is an absolute breeze and there is excellent documentation [...]. The most impressive part of this experience in my mind was how runnable the software is straight out of CVS.
tagged: use phpunit like simpletest unit test test-more.php use phpunit like simpletest unit test test-more.php

Link:

Chris Shiflett's Blog:
PHP Test Simple
Jan 26, 2006 @ 18:28:18

Chris Shiflett has just posted his response to this article from Nola's blog today dealing with a simple testing class.

A few years ago, Geoff Young and I gave a talk called Testing PHP with Perl. We thought we were being funny (in our defense, those who listened to the talk seemed to agree), but I think all we did is make our project seem inaccessible to PHP developers. Perl is scary. :-)

Part of our project is a pure PHP implementation of Test::More called test-more.php. If you want to really keep things dirt simple (which seems to be Nola's goal), you can use it by itself with no framework.

He also mentions her follow up post, demonstrating how she uses the framework in her examples. He compares this with his own test-more.php, accomplishing the same things. The "test-more.php" script is included as a part of the ApacheTest package or you can grab it directly from his site...

tagged: test::simple framework test-more.php follow-up test::simple framework test-more.php follow-up

Link:

Chris Shiflett's Blog:
PHP Test Simple
Jan 26, 2006 @ 18:28:18

Chris Shiflett has just posted his response to this article from Nola's blog today dealing with a simple testing class.

A few years ago, Geoff Young and I gave a talk called Testing PHP with Perl. We thought we were being funny (in our defense, those who listened to the talk seemed to agree), but I think all we did is make our project seem inaccessible to PHP developers. Perl is scary. :-)

Part of our project is a pure PHP implementation of Test::More called test-more.php. If you want to really keep things dirt simple (which seems to be Nola's goal), you can use it by itself with no framework.

He also mentions her follow up post, demonstrating how she uses the framework in her examples. He compares this with his own test-more.php, accomplishing the same things. The "test-more.php" script is included as a part of the ApacheTest package or you can grab it directly from his site...

tagged: test::simple framework test-more.php follow-up test::simple framework test-more.php follow-up

Link:


Trending Topics: