Are there any well-tested examples of LiveView?

I’m looking for an open-source app that both uses LiveView and has a decent set of tests, but so far I’m coming up blank. A LiveView tutorial that included testing would also work. Can anyone help me out?

2 Likes

Hi @gianthamster, maybe this can help you: https://hexdocs.pm/phoenix_live_view/Phoenix.LiveViewTest.html#content

Allen from Plangora has a series of screencasts on ‘CRUD with LiveView’ where he does TDD to add the CRUD features.

5 Likes

This is terrific, and I hadn’t come across it before. Many thanks for the pointer.

1 Like

Since this old post still comes up in searches, I want to point people to German Velasco’s Testing LiveView talk from ElixirConf 2020, which was just put up on YouTube a couple days ago and is excellent:

1 Like