
Combining GraphQL and LiveView with Abul Asar Sayyad - EMX 182
Elixir Mix
Ruby on Rails for Unit Testing Live View
The mock just makes life so much easier for unit testing live view. I think the best way to test the rendered HTML, both in live view and long live view way is a browser test. And we use a capybara for that Ruby on Rails. So you can write all of your HTML expectations, what happens when you click this button, where it gets redirected all of that in rspec Ruby.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.