Packages

ExUnit assertion helpers for testing module dependency boundaries using Erlang's :xref.

Current section

Files

Jump to
assert_boundary CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## v0.1.0
Initial release.
- `refute_calls/2` — assert no module matching `from` calls any module matching `to`.
- `assert_calls/2` — assert at least one call exists between matching modules.
- `assert_boundary/2` — outgoing dependency allowlist for a group of modules.
- `assert_encapsulated/2` — incoming caller allowlist for a group of modules.
- `under/1` — prefix pattern matching (module and all children).
- `Graph.build/1` — xref-based dependency graph construction.
- `Graph.matching/2` — find modules by pattern.
- `Graph.dependencies_of/2` — list direct dependencies of a module.