TDD?! I can't imagine writing tests first...

preview_player
Показать описание

Subscribe for more! 👇

#testing #tdd #golang #software #programming #softwareengineering #podcast
Рекомендации по теме
Комментарии
Автор

I think what he describes is TDD and is actually what TDD is ment to embrace.

1. Write down the API and how it defines first (specification) - Would be Red because we don’t have the specification/API internals implemented yet
2. Implement the easiest solution to make it for (prototype) - Green, after the small iterations you take some tests go green because the meet the created specification
3. make it nice - blue, now that you assured the api is working as intended make its internals nice.

CyLvCompetetiv
Автор

Very interesting opinion that does not take into account that the automatic testing frameworks(examples sunit, junit) were created by practitioners and creators of TDD. Or the test doubles

emmanuelvalverderamos