h
Ensemblisms_header

Roll Your Own Continuous Integration Test Harness

Episode22
04.04.2009
#2
This episode will show you how to build a Continuous Integration Testing Harness using the Ensemble %UnitTest classes. It will step through the Test Driven Development Cycle of Red => Green =>Re-factor, by building a simple Unit Test, the failing assertion, and then follow it up with the resulting code that passes the test.
Tag_blue Tags: TDD Testing
Ensversion Version: 2008.2.2
Award_star_gold_1 Sponsor: Atomic Object, LLC
Mic Podcaster: Ron Sweeney
Arrow_down Download: Roll Your Own Continuous Integration Test Harness (63.1 MB)
Page Show Notes:

The episode will also show you how to capitalize on your efforts using the TDD process, by plugging in the resulting Test Suite into Continuous Integration and building a custom scheduled task to run the Unit Test on an interval.

This enables:

  1. Testing through attrition – so what if a client or upstream system is being upgraded? You’ve got it covered continuously, point them to a development harness and review the resulting test suites over a period of time.
  2. System Upgrades – Copy your Harness to an upgraded instance and wait for Red.
  3. Real Time – Test while your on vacation, at the bar, Test, Test, Test all the time. Let the Harness randomly pull in and assert on messages.
  4. Developer Accountability – make it easy to look at the work you have done, the work you have tested, and the work you have fixed by bloating about the number of assertions you have in the harness.

Example Code:

Episode2


Atomic Object,LLC Resources:
AO Does Ensemble
Justin DeWind’s (AO) DevCon demonostration


You must enable JavaScript and install the Flash plugin to view this player