Test-Driven Development

Last month, Rob did a talk about test-driven development at SLUG. It made me wonder: Does God employ test-driven development… and are we the product, or the test-suite?

9 Comments

  1. tuppa
    Posted May 8, 2006 at 16:35 | Permalink

    What’s more worrying is…. we *ARE* code?

  2. Posted May 8, 2006 at 17:43 | Permalink

    We are quite obviously the test-suite, I’m afraid…

  3. Jussi Kukkonen
    Posted May 8, 2006 at 19:15 | Permalink

    I’m thinking we’re just a mock-up. You know, something that the consultants are showing God:
    “So, this is the feeling we’re going for, what do you think?… Oh that, that’s Rwanda, just a small glitch — it’s already fixed in the trunk.
    Don’t touch that! Outer space is not implemented yet, we’re having some problems with the infiniteness you requested: it’s bigger than we assumed.”

  4. Posted May 8, 2006 at 19:27 | Permalink

    We’re all those bits in the test suite that are prefixed by

    # this should never happen, but test it anyway

  5. TonyWeston
    Posted May 8, 2006 at 22:17 | Permalink

    We’re defiantly the Test-suite!!…..Millions of little instances of Human(), all with slight variations, all running in a test environment……Should one fail a test (say, by falling off a cliff), then that instance is immediately terminated, the erroneous code discarded, and eventually the storage occupied by the instance is GC’d back to the land. If not run in test mode, then the whole of reality would crash with a ‘unexpectedTerminationException’, every time someone did something dumb.

  6. Rog
    Posted May 8, 2006 at 22:19 | Permalink

    He/she/it doesn’t employ TDD, we are the bugs. :)

  7. Andrew
    Posted May 8, 2006 at 22:59 | Permalink

    I suppose that is the advantage of being infallible?

  8. Drew
    Posted May 9, 2006 at 19:04 | Permalink

    The Bible is quite clear about this in several places including Philippians 1:6:

    “And I am sure of this, that he who began a good work in you will bring it to completion at the day of Jesus Christ.”

    (http://www.gnpcb.org/esv/search/?q=philippians+1:6 - it’s like the Google of online Bibles. APIs and everything :)

  9. Johan
    Posted May 18, 2006 at 22:08 | Permalink

    I think the following would be a fitting exit:

    The following error was encountered: The operation completed successfully.

One Trackback

  1. By wolfgang.lonien.de on May 18, 2006 at 08:07

    [IMG RSS] Jeff Waugh’s 88 mph GNOME on FreeBSDQoTD: Steve BallmerThe Zen of FreedomTest-Driven DevelopmentQoTD: Kevin ShockeySweet Planet ActionQoTD: Stephen ColbertWoTD: czechnologyPublic Domain Jazz?QoTD: Bart Simpson, Stephen O?Grady