News Feed
Sections




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

Raphael Stolt's Blog:
Growling PHPUnit's test status
June 03, 2010 @ 11:26:37

Raphael Stolt has put together a guide showing how you can link PHPUnit and its test status to the Growl engine on OS X to share the results in a move visual way (than just watching the test runner).

Since I'm using PHPUnit more and more lately, especially in continuous testing sessions (sprints without hitting the continuous integration server), my dependence on a fast and more visual feedback loop rose. In this post I'll provide an easy solution that meets these requirements by utilizing PHPUnit's test listener feature.

He includes the code to attach the PHPUnit install to the Growl service via a custom listener that can give you a status of the tests from your most recent run (complete with color-coded feedback based on the results). With a few changes to the PHPUnit XML config file and link out to a script (stakeout.rb), he shows how to directly interface with Growl and includes a few screenshots on what the end result could look like.

0 comments voice your opinion now!
growl phpunit integrate unittest runner


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: So Long, and Thanks for all the PEARs

SitePoint.com: Be More Asssertive: Getting to Know PHPUnit's Assertions

International PHP Magazine: Poll Question: What are the Features you want to see in PHPUnit Projects

NetTuts.com: Better Workflow in PHP With Composer, Namespacing, and PHPUnit

Sebastian Bergmann's Blog: TestNG-style Grouping of Tests


Community Events





Don't see your event here?
Let us know!


symfony voicesoftheelephpant interview bugfix install tips laravel introduction api library framework list community release package deployment language series opinion podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework