# `Juggernaut.Report.Tests`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/report/tests.ex#L1)

The test effectiveness page's data (design notes §11), from the mutant jobs this run
ran (a selection other than none, not reused: `Juggernaut.Report.Data.job?/1`).

Only tests that ran in a job count: an entry whose outcome is `:passed` or `:failed`.
Entries a job selected but `:excluded` or `:skipped` did not run and are left out.

For each test that ran: `jobs` (jobs it ran in), `kills` (mutants it killed, as the
recorded killing test) and `total_ms` (its recorded durations summed over those jobs).
Then two lists:

  * `never_kill` - tests that ran in jobs but killed nothing, costliest first;
  * `slow_killers` - killing tests by their mean duration in the jobs they killed in.

There is no "sole killer" list: jobs stop at the first failure (`max_failures: 1`),
so a run never measures whether another test would also have killed a mutant.

Reused results ran in another run, so they are counted apart (`reused`) and not here.

# `build`

```elixir
@spec build(Juggernaut.Run.t()) :: map()
```

The test effectiveness of `run`.

---

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