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.

Read more

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.

Audience
adult
Length
medium · 279 pages

Click a tag to see books like this one that share it. Point at it (on a phone, tap it) for less of it instead.

Read it? Sign in to help tag it.

Liked Laravel Testing Decoded? Here’s where I’d start.

These suit anyone who liked Laravel Testing Decoded. Sign in and mark a few books for picks shaped around your own taste.

  1. PHP Object-Oriented Solutions Shares php
  2. PHP Master Shares php
  3. PHP 5 Objects, Patterns, and Practice Shares php
  4. PHP in Action: Objects, Design, Agility Shares php

“If you want more of the same, start with these.”

  1. Semiconductor Device Fundamentals
  2. The Complete Idiot's Guide to Tantric Sex
  3. Lasker's Manual of Chess
  4. Anti-Bride Etiquette Guide: The Rules And How to Bend Them

“If it was the php that hooked you, try one of these.”

  1. PHP Objects, Patterns, and Practice
  2. Learning PHP Design Patterns
  3. Advanced PHP Programming
  4. PHP & MySQL: The Missing Manual

“These start from a similar idea, even if they go somewhere else with it.”

  1. Rails 4 Test Prescriptions: Build a Healthy Codebase
  2. The Art of Unit Testing: With Examples in .NET
  3. JUnit in Action
  4. The Art of Software Testing