Explore Improvements Early
We’ve come a long way with the testing library and have been using TDD the entire time to get us here. Sometimes, it’s important to explore new ideas before a project gets too far. After creating anything, we’ll have insights that we didn’t have at the beginning. And after working with a design for a while, we’ll develop a feel for what we like and what we might want to change. I encourage you to take this time to reflect on a design before proceeding.
We have something that is working and a bit of experience using it, so is there anything that we can improve?
This approach is like a higher-level process of TDD, as explained in Chapter 3, The TDD Process. First, we work out how we’d like to use something, then get it built, then do the minimal amount of work to get it working and the tests passing, and then enhance the design. We’ve got many things working now, but we haven’t gone so far yet where...