View Source Heyya (heyya v0.1.3)

Heyya allows for fast snapshot testing of Phoenix components. Snapshot testing components is a fast and easy way to ensure that they work and produce what they expected to produce without having to hand write assertions.

Link to this section Summary

Functions

Wire up the module to prepare for snapshot testing.

A named component snapshot test

A named component snapshot test, where context is passed through.

Link to this section Functions

Link to this macro

__using__(opts)

View Source (macro)

Wire up the module to prepare for snapshot testing.

Link to this macro

component_snapshot_test(name, list)

View Source (macro)

A named component snapshot test

Link to this macro

component_snapshot_test(name, context, list)

View Source (macro)

A named component snapshot test, where context is passed through.