The idea of TDD was always interesting to me and I've tried to implement it into my routine a couple of times in the past, but my experience was always the same, which was, in short, slow iteration cycle.
Can you share some practical guide/tips or an article that's good for starting out with TDD?
Also note that these days all popular commercial IDEs (Visual Studio, IDEA, Rider) have great builtin support for TDD (for example: automatically running tests after code changes) so manually doing things and thus slow development are a thing of the past...
Ask HN: How would one start doing TDD “properly”? https://news.ycombinator.com/item?id=32453407
Ask HN: Seriously, how do you TDD? https://news.ycombinator.com/item?id=32712909
In Java I see it as an competitor to the ‘mess around with the Python CLI’ approach, In the IDE it is as quick to cycle and you can breakpoint w/ the debugger. If you have some question about how it works, you can answer the question and produce a test that is checked in.
In that way you document the API.
To summarize:
1) Write a failing test 2) Make it pass as quickly as possible 3) Repeat and refactor as necessary