Hologram.Test (hologram v0.9.0)

Copy Markdown View Source

Summary

Functions

Starts Hologram for feature/browser tests.

Functions

setup()

@spec setup() :: {:ok, [atom()]} | {:error, {atom(), term()}}

Starts Hologram for feature/browser tests.

Runs the Hologram compiler and restarts the application with the full supervisor tree. Call this in your test_helper.exs before running tests that need Hologram pages served in the browser.

# test_helper.exs
Hologram.Test.setup()