We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Heyya Testing Library Reaches Key Release Milestone
76
clicks
Source: batteriesincl.com
Batteries Included has announced that their open-source testing library 'Heyya' has reached version 1.0.0. This release includes a notable new feature: snapshot testing for LiveViews, expanding beyond just component testing. The blog post explains how Heyya can be utilized for testing Phoenix components effortlessly by combining Phoenix.LiveViewTest and Floki, inspired by React’s Jest. The post provides code examples and guidance on how to implement these tests. Additional features cover support for testing both stateless and stateful components, as well as full-page LiveView testing, using Heyya.ComponentCase and Heyya.SnapshotCase respectively.
Related posts
© HashMerge 2024