A while back, we at Zoodles made a proposal for adding a mechanism to Robolectric to automatically check for proper coding practices relating to internationalization. Since nobody tried to stop us, we built the feature and merged it into the Robolectric master repository. We’re documenting it here for people who’d like to use it in [...]
Category Archives: Test driven
Robolectric: Building your test project with Ant
I’m sharing some lessons learned from setting up the Ant build.xml file for my Robolectric test project. Hopefully they will save you the day or so of frustration I spent tracking down these issues. Running JUnit 4 from Ant The first challenge is getting Ant to properly run JUnit 4. I’m using Ant 1.8.1, and [...]
Android Unit Testing in Robolectric, using Eclipse
I’m in the process of trying to set up Robolectric for unit testing Android applications. There’s lots of good reasons to consider this framework as an alternative to the standard Android instrumentation-based testing approach, but I will leave that to a future post once I’ve had more experience with the framework. Robolectric Android Unit Testing [...]
Functional testing AIR applications with FlexMonkey, Part 4
In the first three parts of this series, we built our AIR application for use with FlexMonkey and authored tests. In this part, we examine how to get your FlexMonkey AIR test suite running as part of your continuous build. Part 4 (this article) will integrate the application into your build using Ant. Part 5 [...]
RSpec: Stubbing RAILS_ENV and other constants
RSpec is a great tool not only for writing tests in Ruby, but helping you articulate the requirements for your project in a clean and executable fashion. Every now and then, the need arises to stub the value of a Ruby constant in your RSpec examples. The most obvious use case is to test functionality [...]
Functional testing AIR applications with FlexMonkey, Part 3
In previous posts in this series, we looked at the best overall approach for AIR applications with FlexMonkey, as well as building your AIR application and getting it to run with the FlexMonkey Console. In this part, we present tips and tricks for authoring tests with the FlexMonkey Console. Although you can put together some [...]
Functional testing AIR applications with FlexMonkey, Part 2
In Part 1 of this series, we examined the best overall approach for testing your AIR application with FlexMonkey. In this article, we take a look at building an instrumented version of your AIR application and getting it working with the FlexMonkey IDE Console. A note about versions I originally did this work using FlexMonkey [...]
Functional testing AIR applications with FlexMonkey, Part 1
FlexMonkey is probably the best tool going for functional testing on Flex and AIR applications. It’s free (that’s a good start), comes with an AIR-based test authoring tool, integrates nicely with both FlexUnit and Fluint unit-test frameworks, and all the source code is available for you to try. I recently set up a functional testing [...]
Engine Yard “Rails Performance in the Cloud” Roadshow, Part 6
Soasta, “Agile Load Testing with CloudTest” – Dave Murphy, SVP The last session was a marketing-driven presentation of Soasta, a cloud-based load testing solution. Why do cloud testing? Traditional performance testing is: High cost Limited in scale Internal only Cloud-based testing is: Easy: turnkey solution Fast: results are available in real-time Scalable Available for a [...]
Engine Yard “Rails Performance in the Cloud” Roadshow, Part 5
Pivotal Labs, “Agile Rails and the Cloud” – Ian McFarland, VP Technology The seminar was way behind schedule at this point, and so the presenter whipped through this preso at a pretty quick pace, which made it hard to take good notes. Kind of sad, since this guy was really sharp and had a lot [...]

