Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Apr. 21st 2017

Let's Build A Forum with Laravel and TDD: How to Construct an Activity Feed with TDD

Episode 25 Run Time 16:37

Download

In this episode, we'll use TDD to drive out an activity feed. That way, we can, for example, track when a user creates a new forum thread, or posts a reply. As always, we'll begin with the most basic possible implementation. Once we get to green, we can then move on to the refactoring stage to clean things up drastically.

View the source code for this episode on GitHub.