News Feed
Sections




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

Olek Janiszewski's Blog:
Autotest-like PHPUnit runner for a Zend Framework application
August 30, 2010 @ 13:25:43

On the Continuous Development blog there's a new post showing how Olek Janiszewski came up with a solution to integrate PHPUnit and the Zend Framework via the watchr Ruby gem.

Whenever working on a Ruby project, I'd run autotest with test_notifier to get immediate feedback on my code. Unfortunately, I don't know a similar utility integrated with Zend Framework and PHPUnit. [...] My solution is not as well designed and portable as test_notifier, and it doesn't play as nicely with my Zend application as autotest does with RSpec and Rails. It's more of a quick hack to cover my needs 80% of the time.

The watchr gem changes to the correct directory and runs the usual PHPUnit command (to run all tests) and then captures the output to display back to the client. You end up with messages like these: success, warning and fatal errors.

0 comments voice your opinion now!
phpunit unittest zendframework testing ruby gem watchr


blog comments powered by Disqus

Similar Posts

Alexander Netkachev's Blog: Automatic testing of MVC applications created with Zend Framework

SmartyCode.com: Enable your Zend Framework App with Conditional GET! (Make it green)

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

Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...

Damian Sromek's Blog: [How to] Run PHPUnit tests using database 10x faster


Community Events





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


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

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