Existing student? Log in
Test-Driven Laravel

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

Watch the course

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.

I’ve spent the last 5 years figuring out how to build web applications with TDD; piecing things together from every resource I could get my hands on.

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

Ever since Adam helped tweak my approach to testing a bit, I really enjoy writing them a lot more.

Taylor Otwell Taylor Otwell, creator of Laravel

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.

We cover fundamentals like:

  • What test should you write first
  • Organizing your test suite
  • Feature tests vs. unit tests
  • Testing validation rules
  • Testing events and background jobs
  • 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

Test-Driven Laravel teaches you how to design a solid test suite for a real-world, marketable product that you could actually charge money for.

The Course Outline

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

Over the course of 166 lessons spanning just under 22 hours of content, we'll implement features like:

  • Purchasing tickets via Stripe Checkout
  • Creating and publishing new concert listings
  • Sending bulk emails to ticket holders
  • Generating unique order confirmation numbers and ticket codes
  • Uploading poster images and optimizing them on the server
  • Inviting new users via the console
  • Allowing promoters to connect their Stripe accounts via OAuth 2.0
  • Splitting payments with Stripe Connect

It’s huge, but it’s the most comprehensive TDD resource I’ve ever seen.

Upgrading to Laravel 5.5

Start Test-Driven Laravel

Learn everything you need to know about TDD in one comprehensive resource.

Test-Driven Laravel on multiple devices
  • Free, instant access with no account required
  • Stream and download all 166 lessons
  • Source code links for lessons where available
  • Track your progress locally in your browser

Frequently Asked Questions

Do I need an account?

No. You can watch the course without signing up. Existing students can still log in if they prefer.

Can I download the videos?

Yes. Every lesson can be streamed or downloaded for offline viewing.

How is my progress saved?

Your progress can be stored locally in your browser without an account. Clearing browser data may reset it; existing students may optionally log in.

Which Laravel version does the course use?

The course begins with Laravel 5.3 and follows upgrades that were current when it was recorded. It remains useful for learning TDD, but framework APIs and tooling have changed. The course is provided as-is without ongoing updates or individual support.

Where can I find the source code?

Use the “View Code” link below each lesson to see the corresponding changes on GitHub.

About Me

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

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

© NothingWorks Inc 2026. All rights reserved.