Hackathon Hack:

TDD Grade Feedback Loop
for SGSN

Alexander WingÄrd

What do we have?


What is TDD grade?

TDD grade is when it's feasible to run the tests after each line is modified during development.

This implies:

Tests as the IDE

  • Having the code compiled each save is huge.
  • Having it executed is a great benefit in dynamically typed languages.
  • Being able to jump directly to errors.
  • Code Coverage is a tool not a measurment

    Mocks are a dependency

    Demo Time

    Let's introduce a division by zero in a BT-erl suite and a Eunit suite and see what happens.

    Movie time!

    First running BT-erl...

    Now mine...