<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://organizeseries.com/"
		>
<channel>
	<title>Comments on: How To Test Legacy Applications</title>
	<atom:link href="http://www.brandonsavage.net/how-to-test-legacy-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonsavage.net/how-to-test-legacy-applications/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-test-legacy-applications</link>
	<description>The personal blog of Brandon Savage. Contains entries of a personal and professional nature focusing on PHP, Apple, LAMP, MySQL and Washington, DC.</description>
	<lastBuildDate>Wed, 15 May 2013 14:54:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2-alpha</generator>
	<item>
		<title>By: Hikari</title>
		<link>http://www.brandonsavage.net/how-to-test-legacy-applications/#comment-13098</link>
		<dc:creator>Hikari</dc:creator>
		<pubDate>Thu, 11 Apr 2013 18:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=2244#comment-13098</guid>
		<description><![CDATA[I didn&#039;t understand this article at all. By the title, I understood legacy as software that&#039;s already developed, had no test plan, and now must be tested all of a sudden. We&#039;d then need to manually test it all interacting with its UI, or inspect it for strategic places to add automated tests (like find loose coupled classes that can be unit tested).

Then you started explaining a strategy for building a new software architecture that&#039;s test friendly. Isn&#039;t the software finished and legacy? :P

Anyway, I see tests as a very important part of planning and also as the easiest part of specification. I hate testing, so I love automated tests.

In Java it&#039;s very easy to build architectures that are easy to automate tests. Just divide the software in components and immediately design their interfaces, and we&#039;re ready to start developing test units that will run on these interfaces. TDD.

But in PHP it&#039;s way harder. PHP implies outputting to browser and isn&#039;t easy to change output stream. It doesn&#039;t have any sort of logging feature, like java.util.logging. And I myself don&#039;t like these tools that must be added in production code to receive a bool and build a report.

I&#039;d love more articles about testing in PHP!]]></description>
		<content:encoded><![CDATA[<p>I didn&#8217;t understand this article at all. By the title, I understood legacy as software that&#8217;s already developed, had no test plan, and now must be tested all of a sudden. We&#8217;d then need to manually test it all interacting with its UI, or inspect it for strategic places to add automated tests (like find loose coupled classes that can be unit tested).</p>
<p>Then you started explaining a strategy for building a new software architecture that&#8217;s test friendly. Isn&#8217;t the software finished and legacy? :P</p>
<p>Anyway, I see tests as a very important part of planning and also as the easiest part of specification. I hate testing, so I love automated tests.</p>
<p>In Java it&#8217;s very easy to build architectures that are easy to automate tests. Just divide the software in components and immediately design their interfaces, and we&#8217;re ready to start developing test units that will run on these interfaces. TDD.</p>
<p>But in PHP it&#8217;s way harder. PHP implies outputting to browser and isn&#8217;t easy to change output stream. It doesn&#8217;t have any sort of logging feature, like java.util.logging. And I myself don&#8217;t like these tools that must be added in production code to receive a bool and build a report.</p>
<p>I&#8217;d love more articles about testing in PHP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Hlaváč</title>
		<link>http://www.brandonsavage.net/how-to-test-legacy-applications/#comment-9325</link>
		<dc:creator>Martin Hlaváč</dc:creator>
		<pubDate>Fri, 15 Mar 2013 21:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=2244#comment-9325</guid>
		<description><![CDATA[There is one major problem with Zend. Code built on it uses static calls and if developers on legacy app loved this pattern then one object changes behavior of completely different objects which really makes it hard to test anything.

In this case you have to use functional tests as you mentioned in your post. You have to write functional tests for your application&#039;s frontend anyway, because sometimes unit tests won&#039;t be enough to find some specific problems.

Anyway... great article, keep it comming i like your ideas and way of your programming]]></description>
		<content:encoded><![CDATA[<p>There is one major problem with Zend. Code built on it uses static calls and if developers on legacy app loved this pattern then one object changes behavior of completely different objects which really makes it hard to test anything.</p>
<p>In this case you have to use functional tests as you mentioned in your post. You have to write functional tests for your application&#8217;s frontend anyway, because sometimes unit tests won&#8217;t be enough to find some specific problems.</p>
<p>Anyway&#8230; great article, keep it comming i like your ideas and way of your programming</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced (User agent is rejected)
Object Caching 498/514 objects using apc
Content Delivery Network via Amazon Web Services: S3: brandonsavage-net-files.s3.amazonaws.com

 Served from: www.brandonsavage.net @ 2013-05-19 11:48:56 by W3 Total Cache -->