View Source Heyya
Heyya
is a utility to help with snapshot testing your
Phoenix components. Under the hood it
uses Snapshy
example-usage
Example Usage
use Heyya
component_snapshot_test "Super Simple H1 Test" do
assigns = %{}
~H"""
<h1>Testing</h1>
"""
end
installation
Installation
If available in Hex, the package can be installed
by adding heyya
to your list of dependencies in mix.exs
:
def deps do
[
{:heyya, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/heyya.