harnais v1.0.0 Harnais View Source

Harnais is a family of harnesses for testing Elixir code.

Standard Result API

Many functions return either {:ok, any} or {:error, error} where error will be an Exception.

Peer bang functions return either value or raises error.

Link to this section Summary

Functions

The using macro initialises Harnais

Link to this section Types

Link to this section Functions

Link to this macro __using__(opts \\ []) View Source (macro)

The using macro initialises Harnais.

Examples

use Harnais