Загрузка...

TDD Quick tip: "What test should I choose next?"

When test-driving your code, you shift between red (write a failing test), green (write the code needed to make the test pass) & refactor (clean up). But how do you kickstart this loop? What heuristics can you use to guide selection of the next test you write? This article summarizes the most common heuristics and highlights the one I use predominantly: Pick the test that forces you to add one (and only one) new facet. ?️ Foo Bar Qix kata description: https://mathieuancelin.github.io/poitiers-2016/foobarqix.html ? Accompanying blog post: https://jvaneyck.wordpress.com/2022/06/03/tdd-quick-tip-what-test-should-i-choose-next ? Presentation: https://docs.google.com/presentation/d/1tei6ub5Zkl1rfZO4CPJWI8uWZ7LANRPjdbrv-SiYe9Q/edit?usp=sharing TIMESTAMPS 00:00 "What test to choose next?" 00:42 The theory 09:18 My process 10:17 Foo Bar Qix kata 47:25 Summary

Видео TDD Quick tip: "What test should I choose next?" автора MySQL Разработка систем бизнес-аналитики
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки