Testing LiveView

The fastest way to learn how to test LiveView. Deploy to production with peace of mind.

Now completely free!

LiveView is amazing for building interactive applications! 🀩

But how do we learn to use LiveView brand new testing tools well? πŸ€”

  • LiveView tests use a proxy process to act as the browser. That means our tests are blazingly fast ⚑️
  • But it also means we can write tests that seem correct but fail to test large portions of our LiveView code! 😱
  • Those tests mislead us into thinking our app is covered, but production is completely broken! ⚠️

Thankfully, we can prevent that by writing LiveView tests in specific ways — using the correct combination of helpers and knowing where the pitfalls are.

That's why, in this course, I don't just teach the mechanics of writing LiveView tests (the how). I also teach the logic behind why I write tests in specific ways.

I've crafted each lesson from experience testing LiveView applications in the wild...

... and refined them by a decade of experience practicing test-driven development.

Once I teach you how to think 🧠 about writing LiveView tests, you'll be able to apply the same logic to other testing challenges you face in the real world.

You'll learn to write fast, robust, and easy-to-maintain LiveView tests — the kind of tests that give you confidence when deploying to production. πŸ’ͺ

Here's what you'll learn

We'll cover everything you need to know. From fundamentals to mastery.

(All in the super sweet context of The Lord of the Rings, of course)

⭐️ Bonus: CSS Selectors for Tests

Testing LiveView requires us to use CSS selectors to target elements. But which selectors should you use? Don't worry. I include a bonus lesson on my personal approach to using CSS selectors in tests.

I hope you find it helpful and insightful — even if you opt for a different approach.

⭐️ Bonus: Detailed Notes with Every Lesson

I know I don't always remember exactly what I learned. I just remember that I learned it. πŸ˜…

So, when I buy something, I want to be able to reference the contents I've seen before. But that is tough with videos (ever scrub through video to find a good landing spot? No, not that spot. Not that one either. I know, me too πŸ˜ͺ).

It's way faster to skim and search text! ⭐️

That's why I include detailed summaries for each lesson! πŸŽ‰ You can always come back and find what you need quickly.

Don't believe me? Ask Josh! πŸ‘‡

Pricing

Individual License

$149 FREE!
  • All videos

  • Access to the source code with detailed commits

  • Detailed notes for all videos so you can quickly reference anything without having to scrub through the video

  • Share your thoughts and questions on any lesson along with other Elixirists

  • Suggest topics for future videos

Curious what people think of the course? πŸ‘‡

This was the biggest instructive course I've learned in my elixir journey. Thank you so much for all your efforts

β€” Shahryar Tavakkoli

Hot damn! This was a thorough, amazing and thoughtfully organized course! Amazing work. Much respect.

β€” Benjamin Shepard

Going into this I thought $100 is a bit much, but now I can see how much work went into this making it all simple and easy to understand.

Totally worth it.

You've struck a great balance between showing how to write tests and application without getting sidetracked with other app details. You've upgraded my skills. Thanks again!

β€” Krister Viirsaar

I can't thank you enough for the course! It's allowed me to get comfortable with Elixir and Phoenix LiveView quickly as my career shifted from data science (C++, Python, R) to web-app testing & development.

Other frequently asked questions

Can’t find the answer you’re looking for?

Send me an email

Who is this course for?
Developers who want to learn to test LiveView effectively, without creating tests that are brittle, slow, and hard to maintain.
What are the videos like?
Tons of live coding. Each video should feel a little like you're pairing with me.
Do I need to know how to use LiveView?
Yes. I assume you have knowledge of LiveView in the course. You don't need to be an expert, but it helps if you've seen it before. If you've never used LiveView, I recommend The Pragmatic Studio's LiveView Course .
What's your refund policy?
I offer my Learn to Test Guarantee. If you don't learn how to test LiveView by the time you're done with the course, I'll give you a refund. If you don't learn, I don't earn.
What if I live in a different country?
If the course is too expensive because you live in a different country, I'm happy to give you a discount. Just send me an email with the country where you live, along with a suggested reasonable price for your country, and I'll send you a discount code.
German Velasco

About Me

German Velasco

I've been practicing test-driven development for more than a decade.

Testing is my passion. I love thinking about it, iterating on practices, and figuring out how to write tests that are valuable, stable, and easy to maintain.

You might recognize me from my one of my short video tips I share weekly , my Testing LiveView ElixirConf talk , my TDD Phoenix book , or one of my blog posts .

For the past ten years, I've been helping teams deal with slow test suites, intermittent failures, difficult test cases, and more.