Laracon Slides – TDD: The Good Parts
Published on by Eric L. Barnes
Slides from Adam Wathan’s Laracon.eu talk – TDD: The Good Parts:
Test-driven development can be hard, and a lot of the “rules” can often become a distraction from the real reasons you’re writing tests in the first place.
In this talk, you’ll find out what the real benefits of TDD are, what really makes code “good”, and why testability shouldn’t be your only yardstick for measuring code quality.
I’ll also show you some of the pitfalls of a “purist” testing approach, and give you strategies you can use to test-first without sacrificing simplicity or expressiveness in your code.
If you’ve ever given up on testing because it seemed so hard to do everything “by the book”, this talk will feel like a breath of fresh air and give you the tools you need to start writing tests that really matter.
Eric is the creator of Laravel News and has been covering Laravel since 2012.