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

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 5

Padraic Brady's Blog: Mutation Testing Brain Dump

Zend Developer Zone: An Introduction to the Art of Unit Testing in PHP

Sebastian Bergmann's Blog: phpUnderControl

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 4


Community Events





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


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

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