Testing Legacy Code

31 10 2008

The company I work for, Pillar Technology, recently created this really slick tool called Verde to generate unit tests for legacy code.  I have to admit at first I was very skeptical as I had seen some pretty ugly legacy code out there.  To make sure we’re on the same page here I personally define “Legacy Code” just as Michael Feathers does in his article “Working Effectively with Legacy Code” as code that has a lack of tests around it.  So by this definition code that was written even last week could conceivably be considered “Legacy” if there is a lack of tests.

So to get to the point, now that I’ve had some time to look at the tool, I’m rather pleasantly surprised.  I’ve seen this tool in action, and generate a bunch of integration tests for a service layer for an application, which will allow you to refactor confidently.  Jump over to the website (http://frogyourcode.com) and check it out.





Microsoft targeting Java developers for Silverlight

14 10 2008

There was an article on ComputerWorld yesterday titled Microsoft woos developers under the Silverlight.  It would appear that Microsoft is now targeting Java developers for their Silverlight RIA platform.

Microsoft is funding a French open-source project to build tools that would enable programmers to use the popular open-source Eclipse framework to write Silverlight applications, said Brian Goldfarb, a director in Microsoft’s developer platform division, in an interview last week. This should also let Eclipse programmers share their Silverlight applications with developers working in Microsoft’s Visual Studio framework, Goldfarb said. The project is being hosted on SourceForge.

So I decided to look into this Eclipse plugin to see what it was all about.  The plugin homepage can be found here.  Those of you who know me, know that I’m no Eclipse fanboy, I’m more of an IntelliJ kind of guy, but I find this announcement rather intriguing.  It would appear that Microsoft is finally taking an interest in a plugin for Eclipse that would allow people to do C# development using something other than their own product.  Next thing you know Microsoft will be announcing Visual Studio will be migrating to the Eclipse platform and .NET developers will now have an IDE that doesn’t completely suck.  Sorry Microsoft, but if it weren’t for ReSharper, developing in Visual Studio would be unbearable.








Follow

Get every new post delivered to your Inbox.