TDD Grade Feedback Loop
What do we have?
- 25000 test cases
- 36000 mocks
- 1500000 lines of BT-erl
What is TDD grade?
TDD grade is when it's feasible to run the tests after each line is modified during development.
- Subsecond performance
- Clean output
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
- One of the great benefits of using TDD is driving the design to not be cluttered with dependencies.
- Having a mocking framework is counterproductive.
Let's introduce a division by zero in a BT-erl suite and a Eunit suite and see what happens.
First running BT-erl...