# `Puck.Sandbox.Runtime.Adapters.Test`
[🔗](https://github.com/bradleygolden/puck/blob/v0.2.25/lib/puck/sandbox/runtime/adapters/test.ex#L1)

In-memory test adapter for Puck.Sandbox.Runtime.

## Usage

    setup do
      start_supervised!(Puck.Sandbox.Runtime.Adapters.Test)
      :ok
    end

    test "sandbox" do
      {:ok, sandbox} = Puck.Sandbox.Runtime.create({Puck.Sandbox.Runtime.Adapters.Test, %{}})
      {:ok, result} = Puck.Sandbox.Runtime.exec(sandbox, "echo hello")
    end

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `get_config`

Gets the config for a sandbox.

# `get_exec_history`

Gets the command execution history for a sandbox.

# `set_exec_response`

Sets a mock response for a specific command in a sandbox.

# `start_link`

Starts the test adapter agent.

## Options

  * `:name` - The name to register the agent under. Defaults to `__MODULE__`.
    Use a unique name per test when running with `async: true`.

---

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