# `MixAffected.TestMap.Tracer`
[🔗](https://github.com/mnox/mix_affected/blob/v0.1.0/lib/mix_affected/test_map/tracer.ex#L1)

Compiler tracer for `MixAffected.TestMap.Builder`. While test files are
required, records in the `table/0` ETS bag:

  * `{{:ref, file}, module}` - `file` references `module` (remote or
    imported call or macro, alias reference, struct expansion, `require`,
    `import`)
  * `{{:def, module}, file}` - `file` defines `module`

`file` is `env.file`, the file being compiled, so references injected by a
macro (`use MyApp.DataCase`) count for the test file that expanded it.

# `table`

```elixir
@spec table() :: atom()
```

The ETS table the tracer writes to; it must exist while tracing.

---

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