Refactor First

Sometimes the design of your code gets in the way of what you want to do. In this case, it’s often easier to refactor your existing code *first*, before you implement a new feature, to make that feature easier to implement. In this episode, we refactor our existing test code to make our tab switching test easier to write.