# `Fluffy.Test`
[🔗](https://github.com/ftes/fluffy/blob/v0.8.0/lib/fluffy/test.ex#L1)

ExUnit lifecycle setup for Fluffy tests.

# `setup_option`

```elixir
@type setup_option() :: {:repos, [atom()]} | {:sandbox, boolean()}
```

# `setup`

```elixir
@spec setup(map(), [setup_option()]) :: :ok
```

Establishes Fluffy lifecycle management for the current ExUnit test.

Call this from the test case's setup callback before starting sessions. When
Ecto repositories are configured, Fluffy also starts or adopts their SQL
sandbox ownership. Pass `sandbox: false` to establish lifecycle management
without database ownership.

## Options

* `:repos` (list of `t:atom/0`)

* `:sandbox` (`t:boolean/0`)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
