phoenix_integration v0.8.0 API Reference

Modules

Lightweight server-side integration test functions for Phoenix. Works within the existing Phoenix.ConnTest framework and emphasizes both speed and readability.

Functions to assert/refute the response content of a conn without interrupting the chain of actions in an integration test.

The test asks that a form value be changed. This struct contains the information required to make the change.

Code shared among different tree-traversal modules.

The various messages - both warnings and errors - that can be given to the user.

A Tag is a representation of a value-providing HTML tag within a Phoenix-style HTML form. Tags live on the leaves of a tree (nested Map) representing the whole form. See DESIGN.md for more.

The code in this module converts a Floki representation of an HTML form into a tree structure whose leaves are Tags: that is, descriptions of a form tag that can provide values to POST-style parameters. See DESIGN.md for more.

Once a tree of Tag structures has been created, the values contained within it can be overridden by leaves of a different tree provided by a test.

Once a tree of Tag structures has been created and perhaps edited, it is converted to a simple tree as delivered to a controller action.

A set of functions intended to compliment the regular Phoenix.ConnTest utilities of get, post, put, patch, and delete.