News Feed
Sections




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

Zend Developer Zone:
Improving Code Quality with Flash Builder 4 and PHPUnit
September 14, 2010 @ 08:58:16

On the Zend Developer Zone there's a new tutorial written by Nathan Good about improving the quality of your Flash applications (built in Flash Builder 4) with the help of unit testing with PHPUnit.

Unit testing is becoming a fairly common element of software projects because of its promise of providing better quality to the code base. [...] This article is about improving your code quality in a sample project using Adobe Flash Builder 4 to build a rich user interface (UI) and connecting to PHP services via Zend Action Message Format (AMF). In this article, you learn how to write tests using two frameworks: FlexUnit and PHPUnit.

He starts with an overview of unit testing - why you should test your applications even though it might seem counterproductive and a description of what parts of your application the two testing tools (FlexUnit and PHPUnit) can help with. He first focuses is on the latter of the two and he shows how to get PHPUnit installed and write a first test on an example class. Following that, he moves over to the FlexUnit side and gives the same class and first test example. He then talks about running and automating the testing on both sides and even touches on things like continuous integration and code coverage results.

0 comments voice your opinion now!
improve code quality phpunit flexunit unittest


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: Using PHPUnit from a Git Checkout

Rob Allen's Blog: Unit testing Zend Framework 1

Sebastian Bergmann's Blog: Generating Code from Tests

The PHP.cc Blog: Disintegration Testing

Emanuele Minotto: PHP in a Tweet


Community Events





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


voicesoftheelephpant podcast introduction interview framework security tool community update language library version composer series laravel opinion install package symfony release

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