What do you think?


Laravel Testing Decoded
Please note that this book exclusively covers Laravel 4.
I've seen it way too many times. As your application grows, so does your sloppy, untested codebase. Before long, you begin to drown, as your ability to manually test the application becomes unrealistic, or even impossible! It's at these specific times, when you begin to realize the down-right necessity for testing. Sure, you might have read a TDD book in the past, but, like many things in life, we require real-life experience, before we suddenly - in a wonderful, blissful "aha moment" - get it.
The only problem is that testing can be a tricky thing. In fact, it's quite possible that your codebase, as it currently stands, is untestable! What you may not realize is that, while, yes, testing does help to ensure that your code works as expected, following this pattern will also make you a better developer. That messy, untestable spaghetti code that you might have snuck into your project in the past will never happen again. Trust me: as soon as you bring the phrase "how could I test this" to the forefront of every new piece of code, you'll, with a smile on your face, look back to your former self, and laugh at your crazy, cowboy ways. Welcome to modern software development.
While the principles of testing (and TDD) are language-agnostic, when it comes to execution, there are a variety of tools and techniques at your finger tips. This book is as much an introduction to TDD as it is a deep analysis of the Laravel way of testing applications. Updates will be free for life.
I've seen it way too many times. As your application grows, so does your sloppy, untested codebase. Before long, you begin to drown, as your ability to manually test the application becomes unrealistic, or even impossible! It's at these specific times, when you begin to realize the down-right necessity for testing. Sure, you might have read a TDD book in the past, but, like many things in life, we require real-life experience, before we suddenly - in a wonderful, blissful "aha moment" - get it.
The only problem is that testing can be a tricky thing. In fact, it's quite possible that your codebase, as it currently stands, is untestable! What you may not realize is that, while, yes, testing does help to ensure that your code works as expected, following this pattern will also make you a better developer. That messy, untestable spaghetti code that you might have snuck into your project in the past will never happen again. Trust me: as soon as you bring the phrase "how could I test this" to the forefront of every new piece of code, you'll, with a smile on your face, look back to your former self, and laugh at your crazy, cowboy ways. Welcome to modern software development.
While the principles of testing (and TDD) are language-agnostic, when it comes to execution, there are a variety of tools and techniques at your finger tips. This book is as much an introduction to TDD as it is a deep analysis of the Laravel way of testing applications. Updates will be free for life.
- GenresSoftwareProgramming
279 pages, ebook
First published May 28, 2013
About the author
Jeffrey Way
8 books33 followersJeffrey is a web developer, writer, and editor of the popular web development community, Nettuts+. He spends his days digging into cutting edge technologies, and finding new ways to teach complicated concepts.
Ratings & Reviews
Friends & Following
Create a free account to discover what your friends think of this book!
Community Reviews
Displaying 1 - 7 of 7 reviews
December 1, 2013
Awesome book to learn Test-Driven Development, the Laravel way.
January 25, 2015
it's good for the beginners in testing
it contains some useful information about testing under laravel too
it contains some useful information about testing under laravel too
Read
August 2, 2024Laravel Testing Decoded is a comprehensive guide to testing applications built with the Laravel framework. It provides a deep dive into the best practices, tools, and techniques for effectively testing Laravel applications. The book is praised for its clear explanations and practical examples, making it accessible for beginners and experienced developers. Readers appreciate the hands-on approach, which helps them understand and apply complex testing concepts to real-world scenarios.
September 17, 2013
This book is an amazing introduction to TDD as a whole and also demonstrates a lot of helpful tools and use cases in the context of php and the Laravel 4 framework. Well worth the time !
August 10, 2014
Everything Way does is awesome, this book is not an exception (even if it was, reading it would allow you to easily write a Test for it). Recommend
September 17, 2015
decent, cant wait for new version
October 22, 2014
awesome book on testing in php and testing in general.
Displaying 1 - 7 of 7 reviews







