Category Archives: Continuous Integration

Code Coverage — a simple Rails example

My tests are my safety net. With them I can refactor with confidence, knowing that I’m keeping the functionality I intended. With them, I can grow my codebase, knowing that I’m not introducing regression errors. How do I have confidence that my safety net is good enough? One metric I can use to help with this […]

Also posted in Agile Software Development, Engineering, Quality Software, Rails, Ruby, Software Craftsmanship, Test Driven Development | Leave a comment

Code Coverage with Flex – a headless agent for CI builds

In my last blog post I gave details of how I user the modified code coverage viewer for flex in an automated build to follow the trend of code coverage over time. The trouble with this approach was that there was a problem either with the localConnection in flex or the code that uses it […]

Also posted in Agile Software Development, Flash & Actionscript | 22 Responses

Code Coverage with Flex – ANT build for running the viewer

In my last post, I gave you my elegant extension hack for generating EMMA style code coverage reports from FlexCover. This post covers the first route I took to incorporating this in my build process. It does work, but it’s not very consistent in its reporting and I’ll explain why at the end…

Also posted in Agile Software Development, Flash & Actionscript | 5 Responses

Code Coverage with Flex – creating EMMA formatted reports

Details on my hack for creating EMMA formatted code coverage reports using FlexUnit

Also posted in Agile Software Development, Flash & Actionscript | 5 Responses

Continuous Integration with Flex – a better log parser

About a year ago, I posted a six part series explaining how to set up a continuous integration process for your Flex projects. Since then I have been refining the process when I have had a spare moment. One of the hassles I found when trying to setup continuous integration on a new machine was […]

Also posted in Flash & Actionscript | Leave a comment

CruiseControl on the Mac – modifying the build script to work x-platform

So, I thought I was doing pretty well, getting svn working on the mac, installing cruisecontrol for my continuous integration, even getting SCPlugin working with unsigned certificates. Then I tried to run my ant build, and ended up having all sorts of problems getting my mac debug player to run. Some investigating and help from […]

Also posted in Flash & Actionscript, Test Driven Development | Leave a comment

Restarting cruisecontrol on Mac OSX

OK, so for those of you who know Unix better than me (which is probably most of you) this post will be like teaching your granny to suck eggs, but for the rest of us, it took me some working out how to stop and start the cruisecontrol server instance on the mac…

Posted in Continuous Integration | 3 Responses

CruiseControl on Mac OSX

So, I’ve got this shiny new mac provided by my new employers, and so I figured I’d put it to use as a CruiseControl build manager. I found the process reasonably simple but, just like the process of setting up Subversion and SCPlugin, there are a couple of extra steps I figured I’d share…

Posted in Continuous Integration | 4 Responses

FlexUnit for Cruise Control – XML output

If you read my earlier posts on Flex and continuous integration, you will remember that we had to do some work to get ASUnit to spit out its results in a manner that would be understood by Cruise Control. We built a log parser to parse results from the Flash players trace file into an […]

Also posted in Flash & Actionscript, Test Driven Development | Comments closed

Unit test frameworks for AS3 and Continuous Integration

Im currently evaluating FlexUnit and ASUnit as we move over to AS3 and seeing how they will fit in with our continuous integration suite. As you may have read in my previous posts on CI, we ended up significantly reworking ASUnit to get it to integrate with our needs for CI. What we are really […]

Also posted in Flash & Actionscript, Test Driven Development | 1 Response