DEV Community

Discussion on: Test-driven vs test-first

Collapse
 
mindplay profile image
Rasmus Schultz

In my experience, designing from the perspective of client code in general (of which the test is only one, and arguably the least important) is what leads to the best possible public interface.

Again, if writing the test first works best for you, personally, you should absolutely do that.

The larger point here is that not everyone has the same experience - so definitely try it, but don't force it. 🙂