# `Juggernaut.Advise.Tags`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/advise/tags.ex#L1)

The tags each test file declares, read from its source without running it, for
`mix juggernaut.advise` (`Juggernaut.Advise`): `@moduletag`, `@describetag` and `@tag`
values (an atom, a list of atoms, or `key: value` with a truthy value), plus the tags of
each case template the file `use`s that is defined under the test paths (a
`Juggernaut.IntegrationCase` whose `using` block sets `@moduletag :fixture`, say).

Read statically, so a tag computed at run time is not seen; a file that does not parse
has no tags.

# `of_files`

```elixir
@spec of_files(Path.t(), [String.t()], [String.t()]) :: %{
  required(String.t()) =&gt; [atom()]
}
```

The tags of each of `test_files` (relative to `root`), with the case templates defined
in the other `.ex`/`.exs` files under `test_paths`.

# `tags`

```elixir
@spec tags(Macro.t()) :: [atom()]
```

The tags `ast` sets with `@moduletag`, `@describetag` or `@tag`.

---

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