Rob Whittaker @purinkle@ruby.social · activity timestamp 8 hours ago The thing about TDD that took me years to understand: it is not about the tests. It is about the design pressure. Writing the test first forces you to consider the interface before the implementation. The tests are a nice side effect. #Ruby #TDD Read more Read less Translate alt A red rectangle labelled "Test" with an arrow pointing to a larger teal rectangle labelled "Design", illustrating how tests shape design. Caption reads "The test shapes the design." A red rectangle labelled "Test" with an arrow pointing to a larger teal rectangle labelled "Design", illustrating how tests shape design. Caption reads "The test shapes the design." Reply Boost or quote Boost Quote You cannot quote this post Like More actions Copy link Flag this post Block
alt A red rectangle labelled "Test" with an arrow pointing to a larger teal rectangle labelled "Design", illustrating how tests shape design. Caption reads "The test shapes the design." A red rectangle labelled "Test" with an arrow pointing to a larger teal rectangle labelled "Design", illustrating how tests shape design. Caption reads "The test shapes the design."
Remi Mercier @remi@ruby.social · activity timestamp 4 hours ago @purinkle Yes! And once you wrote a whole spec file to better define the structure, you light just as well convert these into tests. Read more Read less Translate Reply Boost or quote Boost Quote You cannot quote this post Like More actions Copy link Flag this comment Block