In this case you are probably right. The solution with separate configuration shines though, when you have many values to configure (notwithstanding keyword args). But, and that is my main takeaway, TDD does apparently (and not surprisingly) not show the way to one or the other solution. On the contrary: the solution was already given in advance and the TDD part was more or less toying around with the moving parts of the solution.
No comments yet.