Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« Documentation versus Productivity?
Mouse problems with Safari 1.3 after using Expose »

php testing and coverage

April 8th, 2005

I ran across this O’Reily article about SpikeSource today. Very interesting.

They have released a coverage reporting tool, Spike PHP Coverage, for PHP that works with XDebug coverage data. It works with Simple Test and it seems to be able aggregate the results of remote test runs, such as for web based tests. I have wanted something exactly like this. I can’t wait to get the chance to generate a consolidated coverage report for WACT.

It seems that they have the capability for generating and aggregating code coverage reports for PHP itself. I haven’t had a chance to check this out, but its something that I have always wondered about.

Additionally, it looks like they accept contributions of Test Suites. If I understand this correctly, it means that I can upload the WACT test suite and that it can be used to test and generate coverage reports for PHP 4 and for PHP 5 as well as the framework. If this is true, this is a big deal. As there are more and more applications with automated test suites, it only makes sense to aggregate them to test PHP itself.

It also seems that they have embraced Simple Test for php testing. Congratulations, Marcus. Simple Test is a fine piece of software.

I think code coverage measurements are important for gauging the quality of a test suite on open source projects, where there can be less formal development practices and a large number of contributers of varying skill levels and motivation.

Filed Under

  • Agile Methods, Open Source, PHP

Related Posts

  • Code Coverage, Feedback and Open Source
  • Shipping Software is fun
  • PHP 5.1 is out
  • A Comparison of the PHP and Java Job Markets
  • Knocked off the internet, a story of Windows and Macintosh
Both comments and pings are currently closed.

39 Responses to “php testing and coverage”

  1. Hans says:
    4/11/2005 at 7:28 am

    Recently Michiel Rook has added PHPUnit2 tasks to Phing (see http://phing.info/docs/guide/chapters/appendixes/AppendixC-OptionalTasks.html#PHPUnit2Task) which also provide code coverage reporting options. This stuff is fantastic. It’s great to see people having some serious expectations of PHP applications.

  2. Ira Baxter says:
    4/23/2005 at 3:13 pm

    Our company offers full featured test coverage and profiling tools for PHP4 and PHP5. No changes are required to a standard install to operate this tool. In particular, you
    don’t have to install the XDebug module, which makes it
    much easier to use on hosted sites.

    See http://www.semanticdesigns.com/Products/TestCoverage/PHPTestCoverage.html.

  3. uzamax says:
    3/6/2011 at 10:59 am

    %100 Do?al ve hiç bir yan etkisi olmayan Uzamax’? ke?fedin
    UZAMAX içeri?inde mineral ve vitaminler bar?nd?ran, do?al bitkielerden üretilmi? g?da deste?idir. ?çeri?inde herhangi bir kimyasal ürün bulunmamakla birlikte tamamen do?al kurutulmu? bitkisel bir kar???md?r. Sadece birkaç ayl?k kullan?m kürü sonras?nda bile uzamax’?n etkisini hissedeceksiniz.

    Uzamax kullanarak do?al yollarla bünyenize gerekli olan tüm besin, vitamin ve mineralleri vücudunuza alman?z? sa?lar.izlanda yosun hapi

  4. a4348023 says:
    11/4/2011 at 9:06 pm

    I’ve said that least 4348023 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

  5. lawn mower reviews says:
    11/7/2011 at 7:12 am

    Howdy, have you ever before thought about to create about Nintendo Dsi handheld?

  6. Black Friday Britax Marathon 70 says:
    11/7/2011 at 6:55 pm

    you’re in point of fact an honest webmaster. the positioning loading velocity is wonderful. It reasonably feels that you’re doing any unique trick. Also, The contents are masterpiece. you’ve got done a fantastic activity during this topic!

  7. Carmelo Hoerauf says:
    11/7/2011 at 9:14 pm

    straight talking

  8. 775highbench says:
    11/8/2011 at 12:47 am

    greeting, set up bing to ones new industrialist moreover it looked adventive but after retrieve everything displayed ok.

  9. aboutmyzimbabwe says:
    11/8/2011 at 8:31 pm

    hey, the prissy component sites rightful set up your place on branchlet aol helped me a lot! i actually suchlike the entropy, conduct gratitude you.

  10. a keyword research says:
    11/8/2011 at 11:38 pm

    I am sometimes to blogging and that i truly recognize your content. The article has extremely peaks my interest. I’m about to bookmark your site and hold checking for complete clean information.

  11. blackfriday says:
    11/8/2011 at 11:50 pm

    To purchase online. This item has been discounted at this link.| Black Friday Sale Philips AS351/37 Fidelio Docking Speaker for Android | Black Friday Philips AS351/37

  12. Jeffry Konarski says:
    11/9/2011 at 1:37 am

    very direct

  13. Leda Fuson says:
    11/9/2011 at 5:22 pm

    I follow

  14. alphaglobaltrade says:
    11/9/2011 at 10:12 pm

    hey, set up aol to ones new hunt for as a consequence it looked abnormal except later than revive everything displayed ok.

  15. Online Shopping Black Friday says:
    11/10/2011 at 9:23 pm

    Thanks for the nice article. I have learned from this article, Love the site!

  16. Replace Laptop Screen says:
    11/12/2011 at 2:42 am

    I am not positive the place you’re getting your data, however good topic. I has to spend a short time learning more or determining more. thank you for magnificent data I used to be on the lookout for this data for my mission.

  17. Replace Laptop Screen says:
    11/12/2011 at 4:06 am

    This is my initial time i visit here. I found so many fascinating stuff in your blog especially its discussion. From the heaps of comments on your articles, i guess i’m not the sole one having all the enjoyment here! maintain the nice work.

  18. Maximo Brugman says:
    11/12/2011 at 10:17 am

    top info

  19. ??????????????????? says:
    11/12/2011 at 11:55 am

    After investigation a few of of this weblog content in your web-site currently, i actually like your technique of blogging and site-building. I added it to be ready to my save your things web site catalog and can be viewing back subsequently. Pls take a glance at my web website as properly and tell me what you think that.

  20. marijuana Education says:
    11/12/2011 at 5:12 pm

    Wohh exactly what I was looking for, thank you for posting.

  21. Wallor@yahoo.com says:
    11/13/2011 at 3:17 am

    thanks for this useful put up

  22. Tyrell Graziani says:
    11/13/2011 at 1:30 pm

    a helpful submit thanks!

  23. Lynette Brossard says:
    11/15/2011 at 3:46 am

    good work thanks for the submit

  24. Jacqui Totaro says:
    11/15/2011 at 8:52 am

    a helpful post thanks!

  25. Andres Roaoo says:
    11/16/2011 at 7:17 am

    good work thanks for the publish

  26. Natasha Mallalieu says:
    11/16/2011 at 12:45 pm

    thanks for this handy submit

  27. Florentina Ladnier says:
    11/17/2011 at 9:33 am

    nice work thanks for the share!

  28. Inga Groene says:
    11/17/2011 at 11:01 pm

    thanks for this useful put up

  29. Lashandra Heilig says:
    11/18/2011 at 4:00 am

    nice work thanks for the submit

  30. Jesus Kustes says:
    11/18/2011 at 7:59 am

    nice put up many thanks!

  31. Edgar Salabarria says:
    11/20/2011 at 1:16 pm

    There are some attention-grabbing closing dates on this article but I don’t know if I see all of them heart to heart. There may be some validity however I’ll take maintain opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as properly

  32. Xiomara Gallodoro says:
    11/20/2011 at 5:11 pm

    A powerful share, I just given this onto a colleague who was doing slightly analysis on this. And he in truth bought me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading more on this topic. If doable, as you grow to be experience, would you thoughts updating your blog with extra details? It is highly useful for me. Large thumb up for this weblog submit!

  33. gynecomastia says:
    11/22/2011 at 5:33 pm

    You ought to be a portion of a contest for just 1 of one of the most beneficial blogs web based. I will recommend this blog!

  34. Celebdefamer miley cyrus says:
    1/4/2012 at 1:23 pm

    vjhtdqspdbub, CelebDeFamer, FoCoUcE, [url=http://celebdefameraccess.com/]CelebDeFamer[/url], JgWWTok, http://celebdefameraccess.com/ Celeb De Famer, JGbWgNj.

  35. Minnie Counselman says:
    1/10/2012 at 5:06 am

    I wanted to thank you a lot more for your amazing web site you have built here. It’s full of ideas for those who are really interested in this kind of subject, primarily this very post. You really are all so sweet along with thoughtful of others and reading your blog posts is a superb delight with me. And what generous treat! Mary and I will certainly have enjoyment making use of your ideas in what we should instead do in a month’s time. Our record is a kilometer long and tips will be put to beneficial use.

  36. ??????? says:
    2/20/2012 at 9:08 am

    Beautiful site. I like your websites.Its usefull for me website in the World Its usefull for me. Thanks.I Like to Play baccarat online.

  37. ????????? says:
    2/21/2012 at 10:56 am

    This is a Beautiful site. I like your websites.Its usefull for me blogs in the galaxy Its usefull for me. Thanksyou.I Like to Play baccarat online.

  38. ????????????????? says:
    2/22/2012 at 7:51 am

    This is a great site. I like your blogs.Its usefull for me blogs in the galaxy Its usefull for me. Thanksyou.I Like to Play travel online.

  39. ????? says:
    2/22/2012 at 11:11 am

    Thats is a great websites. I like your blogs.Its usefull for me blogs in the wold Its profit for me. Thanks you.I Like to join travel online.

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • rsync to remote server via ssh  37
      Petr Halounek, Penni Tomasino, Rodney Kohnen [...]
    • WordPress BBCode Plugin  30
      wepniveth, Pamella Philipps, evakuat [...]
    • PEAR Templates  18
      Sang Bellotti, Kandice Sansing, car insurance estimates for teenagers [...]
    • Extreme Simplicity  15
      Gilbert Moatz, Roni Beauregard, Barb Geyer [...]
    • Manual Memory Management is Dead  6
      Grass Fed Filet Mignon, Kellie Carello, PAPANDOR [...]
    • Friendster wrapup: does MySQL scale  38
      Ollie Joya, nfl jersey on sale, selling scrap gold [...]
    • The Coding Apprentice  51
      fkawau, Annamae Mccane, Boca Raton Personal Injury [...]
    • The Legality of Republishing RSS Feeds  30
      dasfdsfsd, reebok authentic nfl jersey, Tory Rennemeyer [...]
    • Exceptional PHP  7
      Sports, The Click, Laraine Waterhouse [...]
    • PDO versus MDB2  42
      selling silver coins, Oliver Luongo, ddkoaorpa [...]
  • Recent Posts

    • Richard Thomas
    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
  • Site

    • Archives
    • Log in
  • Search