# `Juggernaut.TestRef`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/test_ref.ex#L1)

One ExUnit test, as recorded for a mutant (design notes §14.1).

`id` is `file:line` (the form `mix test` accepts). `duration_ms` and `outcome` are
those of the run that recorded the reference, `nil` when the test did not run.

# `outcome`

```elixir
@type outcome() :: :passed | :failed | :excluded | :skipped
```

# `t`

```elixir
@type t() :: %Juggernaut.TestRef{
  duration_ms: non_neg_integer() | nil,
  file: String.t(),
  id: String.t(),
  line: pos_integer(),
  module: module(),
  name: atom(),
  outcome: outcome() | nil
}
```

# `outcomes`

```elixir
@spec outcomes() :: [outcome()]
```

The outcomes a test can have.

---

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