German Velasco/Testing LiveView (LiveView 0.15)

  • $99

Testing LiveView (LiveView 0.15)

  • Closed

Learn to test LiveView effectively. Gain trust in your code. Ship confidently.

Write tests that don't slow you down

Phoenix LiveView brings a new set of testing tools and requires a new way of thinking about our tests.

Don't write tests that

  • only the original author understands
  • fail intermittently, costing you hundreds of hours of development time
  • run so slow you check Twitter every time you run them

Instead, master LiveView's new testing tools, learn the thought process behind what, when, and how to test LiveView, and rediscover the joy of having tests that are 

  • fast 🏎
  • robust 💪, and
  • easy to maintain 🛠

Contents

Testing LiveView

Welcome to Testing LiveView.

LiveView is fun, and I'm excited to take this journey with you.

In Code and set up instructions, you'll be able to download the source code.

If you have any questions or concerns, please reach out to me.

I hope you enjoy the course. 
Welcome to Testing LiveView
Code and set up instructions
Testing Rendering
Scoping assertions
Testing Rendering Components
Testing Live Components
Testing Live Components (Part 2)
Testing Page Interactions
Testing Live Patch
Testing Live Navigation
Testing Form Submissions
Testing Change Validations
Testing Event-Driven UIs
Testing Event-Driven UIs (Part 2)
Testing Displaying New Posts
Testing Liking Posts
Testing Stateful Components
Testing Stateful Components (Part 2)
Testing Broadcasting Likes
Testing Broadcasting Likes (Part 2)
Making Tests Easy to Read and Understand
Debugging LiveView Tests
Testing JavaScript Hooks
Complex Assertions with Floki
Testing Uploads
Testing Uploads (Direct to Server)
Testing Uploads (Direct to Server - Part 2)
Testing Uploads (Direct to Server - Part 3)
Testing External Uploads (Direct to Cloud)
Thank you for being part of Testing LiveView!

Extras

CSS Selectors for Tests