# `Supertester.Env`
[🔗](https://github.com/nshkrdotcom/supertester/blob/v0.6.0/lib/supertester/env.ex#L1)

Environment abstraction that Supertester uses to integrate with the host test runner.

By default, `Supertester.Env` delegates to `ExUnit.Callbacks.on_exit/1`. Custom harnesses
can provide their own implementation via the `:supertester, :env_module` application
configuration.

# `on_exit`

```elixir
@callback on_exit((-&gt; any())) :: :ok
```

# `on_exit`

```elixir
@spec on_exit((-&gt; any())) :: :ok
```

Registers a callback to run when the current test finishes.

---

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