A comprehensive step-by-step video course on designing robust Laravel applications with TDD.

A step-by-step course on designing robust Laravel applications with TDD.

Sign up to get four free preview lessons and details about early access.

Sign up for free preview lessons and early access details.

Most examples make testing look pretty easy.

When I was first learning how to test, every example I could find made it seem fairly straightforward.

"Assert 5+5 equals 10? Sure, piece of cake!"

But as soon as I tried to test a real application, I was paralyzed.

"What's the very first test I'm supposed to write for this brand new app?"

"How do I test that this email gets sent?"

"What about this code that needs to talk to the Stripe API?"

Simple examples are fine for learning the basics, but I wanted to know how to apply this stuff to real products that I was actually building on the job.

Test-Driven Laravel is the course I wish I had.

Earlier this year I published a screencast that walked through how I get the ball rolling when using TDD to build a brand new application:

"Everyone watch this. Seriously."

Taylor Otwell, creator of Laravel

Test-Driven Laravel takes all of the ideas that I've had to piece together and refine myself, and bundles them up into a comprehensive video course.

It's everything I know about testing, consolidated into a single resource that you can work through in just a few days.

What you’ll learn

The biggest objective of this course is to teach you how to TDD something real, not just another cookie-cutter to-do app.

You'll learn how to design a solid test suite for a real-world, marketable product that you could actually charge money for.

We'll cover fundamentals like:

  • What test should you write first
  • Organizing your test suite
  • Feature tests vs. unit tests
  • Testing request validations
  • Testing authorization rules
  • Working with test databases
  • Speeding up your tests with test doubles

...as well as hard topics, like:

  • Testing code that interacts with third-party services
  • Writing your own test doubles from scratch
  • Testing automated payouts with Stripe Connect
  • Testing the sending of mass emails
  • How to test race conditions
  • Testing file uploads and server side image processing

What we'll build

Together we'll build TicketBeast, a platform for local concert promoters to sell tickets to their events.

Local promoters can sign up, connect their Stripe account, and start adding concerts.

When a concert is ready to be promoted, they can share a public link to their concert page via social media, add it to a Facebook event page, etc.

Concert goers who visit this link can buy tickets to the show and have them delivered via email.

On the back end, concert promoters can do things like:

  • See how tickets are selling
  • Edit event details
  • Release more tickets if the event is selling out and they want to move it to a bigger venue
  • Send important updates to ticket holders
  • Print the guest list to check off each attendee at the door on the day of the concert

We'll build the entire application using TDD every step of the way, and you'll have access to all of the source code to pour over when we're finished.

Sign up to get four free preview lessons and details about early access.

Sign up for free preview lessons and early access details.

"Definitely sign up for Adam's upcoming course. Highly recommended."

Jeffrey Way, creator of Laracasts


Hey! I'm @adamwathan, senior web application developer, host of Full Stack Radio, creator of Nitpick CI, and author of Refactoring to Collections.

I teach everything I know on my blog, through screencasts, and at conferences around the world.