Test-Driven Laravel
Please rate the course
Course short description
A practical guide on how to use the software development process (TTD) using a real example. The author writes a website from scratch using the Laravel framework for selling electronic tickets for concerts.
Simple examples are good for learning the basics, but I would like to know how to apply this material to real products that I actually built at work.
I've spent the last 5 years figuring out how to build web applications using TDD; connecting things from every resource I made.
What will you learn
The biggest goal of this course is to teach you how to use TDD in reality.
We will talk about the basic principles:
- Which test should you write first
- Organizing a test suite
- Functional Tests vs. Unit Tests
- Validity rules
- Testing events and background jobs
- Working with test databases
- Speeding up tests with test pairs
...as well as hard topics like:
- Testing code that interacts with third-party services
- Writing your own test from scratch
- Testing automatic payments with Stripe Connect
- Testing sending bulk emails
- How to check race conditions
- Testing file loading and image processing on the server side
The course teaches you how to create a robust test suite for a real, marketable product.
Together we will build TicketBeast, a platform for local promoters to sell tickets to their events.
Over the course of 166 lessons, covering just under 22 hours of content, we'll implement features such as:
- Purchasing tickets via Stripe Checkout
- Creating and publishing new concert listings
- Sending mass emails to ticket holders
- Generate unique order confirmation numbers and ticket codes
- Uploading poster images and optimizing them on the server
- Inviting new users through the console
- Enabling promoters to connect their Stripe accounts via OAuth 2.0
- Split Payments Using Stripe Connect
The course is huge, but it's the most comprehensive TDD resource I've ever seen.