Sessions at CodeMash 2012 about Test DrivenĀ Development

Your current filters are…

Wednesday 11th January 2012

  • Putting the D&D in TDD

    by Guy Royse and George Walters II

    Are you tired of TDD workshops that make you do boring things like calculate bowling scores and prime factors or demonstrate how to win at the game of life? If so, this is the session for you! In this TDD workshop we will be building the domain model for EverCraft -- a new MMORPG from Blizzards of the Coast. We have lots of story cards prepared covering features from combat to magic, classes to spells, and races to items. Plus, we'll be defining some of these cards during the session in case you want that +9 knife of ogre slaying or enjoy casting magic missile at the darkness. This workshop is language agnotisic and for all levels of developers. The focus is on TDD and emergent design but pair programming will be covered as well. The only requirement is that you bring a laptop and that you be able to test-drive you code with your language of choice. When you are done you will emerge a better programmer for the experience but there is small chance you will have a craving for Cheetos and Mountain Dew.

    At 9:00am to 5:00pm, Wednesday 11th January

Thursday 12th January 2012

  • An Intro to Test Driven Development

    by Phil Japikse (MVP)

    Test Driven Development is more than just writing tests first. It requires a different thought process. I will show you that thought process, and how to become a more effective developer, write less code, reduce zero defects, deliver your code faster, and make it to happy hour!

    At 9:45am to 10:45am, Thursday 12th January

    In Zambezi, Kalahari Waterpark Resort Convention Center

  • Building Testable Applications in PHP

    by Chris Hartjes

    I think it's safe to say that at this point, having SOME sort of automated testing for your application is considered a best practice. Unfortunately, creating a testable application is like having 6-pack abdominal muscles: everyone wants them but few are willing to put in the hard work to make it happen. This talk will approach the idea of Test-Driven Development / Behaviour-Driven Development from a different angle, instead taking a look at strategies for structuring your application is such a way that continuous integration and delivery of your application is not only possible but easily achievable. We will start by looking at anti-features of an application: ways of building things that make them very difficult to test. From there we will progress onto things like Demeter's Law, dependency injection and how to create the complementary infrastructure to test your application. Finally we will focus on building your confidence level with respect to flawless deploys from "all hands on deck, we're deploying" to "that's the 12th change we pushed into production today".

    At 3:35pm to 3:45pm, Thursday 12th January

    In Indigo Bay, Kalahari Waterpark Resort Convention Center

    Coverage slide deck

Friday 13th January 2012

  • Code Kata and Analysis

    by Jim Weirich

    A Code Kata is a simple programming exercise, practiced repeatably by a developer. Much like a musician practices scales and finger exercises to develop his musical skills, a developer will practice code katas to develop his programming skills.

    This talk will be a live performance of a simple TDD-based code Kata, followed by an analysis of the forces and choices involved in the feedback loop between the code and the tests encountered during the kata. By examining this interaction of tests and code, we come to a better understanding of how to use tests to actively affect the direction of our design. By reflecting on the process, we understand how to pick "what to test next".

    This talk is targeted for developers who have started using Test Driven Design (TDD) and feel that they don't quite "get it" yet, and are looking for guidance in the technique.

    At 9:30am to 10:30am, Friday 13th January

    In Cypress, Kalahari Waterpark Resort Convention Center

  • Making a Mockery of Hard to Test Code

    by Phil Japikse (MVP)

    Test Driven Development can be hard. Oh, sure, it's easy to write the standard bank account tests that you see in all of the demos. But what about real life? What about that service that hasn't been developed yet? What if the code you are trying to test doesn't follow Uncle Bob's SOLID principles? I will show you how free mocking tools will brighten your day!

    At 9:30am to 10:30am, Friday 13th January

    In Indigo Bay, Kalahari Waterpark Resort Convention Center