Category Archives: Engineering

All about the engineering side of software development

Asyncronous test setup with FlexUnit

As part of my evaluation of FlexUnit and ASUnit for continuous integration, one of the rquirements is the ability to have an asynchronous test setup. Lets say you have a class under test that requires some XML in its constructor, and ideally you want to load that XML from an external source. While this doesnt […]

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 Continuous Integration, Flash & Actionscript, Test Driven Development | 1 Response

Continuous Integration with Flex – Part 6

In this, the final entry on CI with Flex, I look at an extra change we made to the ASUnit sources, take a look at what CI has done for us, and finally let you in on what we are looking at next…

Also posted in Continuous Integration, Flash & Actionscript | Comments closed

Continuous Integration with Flex – Part 5

This is the penultimate installment of the CI saga, and its the last step you will need to take to get your continuous integration suite up and running. The first thing you will need to do is install CruiseControl onto your build monitoring machine. The first thing I did was get it up and running […]

Also posted in Continuous Integration, Flash & Actionscript | Comments closed

Continuous Integration with Flex – Part 4

Ok, so far so good. We had covered a lot of ground up to this point, but we were only part of the way there… The next step is to get our test results understood by ANT. Ikezi created a natty python script to parse the output of our flash logfile using some cunning regular […]

Also posted in Continuous Integration, Flash & Actionscript | Comments closed

Continuous Integration with Flex – Part 3

So, if you have got this far, your ant build will compile the test harness, which quits after a specified period of time, and then compiles the main build. So far, so good, but it’s not really rocking yet; what we now need to do is get our ANT build to know if our unit […]

Also posted in Continuous Integration, Flash & Actionscript | Comments closed

Continuous Integration with Flex – Part 2

In the next step to CI Nirvana, I’m going to be looking at using ANT to build both our testHarness and the main mxml file. As I mentioned in my previous post, the job we need ANT to do is get it to compile the testHarness, wait for it to close, then compile your main […]

Also posted in Continuous Integration, Flash & Actionscript | Comments closed

Continuous Integration with Flex – Part 1

The first step for getting your CI build up and running will be to get all your basic pieces in place on your local machine. Some of this stuff (I hope) you will already have in place, but for the sake of being complete I’ll include it here…

Also posted in Continuous Integration, Flash & Actionscript | Comments closed

Continuous Integration with Flex – Introduction

The contract I am currently working on is for a large financial institution in Boston. They want to explore new ways of working in our small business unit with the hope that some of our work may make it into the mainstream of the company. We are not only experimenting with the projects we work […]

Also posted in Continuous Integration, Flash & Actionscript | Comments closed