# ModuleResolver - library for module decoupling

**URL:** <https://forum.elixirforum.com/t/moduleresolver-library-for-module-decoupling/74304>\
**Category:** Announcing\
**Tags:** library, testing, decoupling, mocking\
**Created:** [February 13, 2026, 3:25pm UTC](https://forum.elixirforum.com/t/moduleresolver-library-for-module-decoupling/74304 "2026-02-13T15:25:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmitrykleymenov](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dmitrykleymenov/32/40039_2.png) [@dmitrykleymenov](https://forum.elixirforum.com/u/dmitrykleymenov)\
**Post date:** [February 13, 2026, 3:25pm UTC](https://forum.elixirforum.com/t/moduleresolver-library-for-module-decoupling/74304/1 "2026-02-13T15:25:49Z")

</div>

ModuleResolver is a library for decoupling module dependencies by easily splitting a module into a behaviour(api) and the implementation. After the split is done, we can mock it(Mox, Hammox) in tests without performance issues in other environments.

More about it: [https://medium.com/@dmitrykleymenov/decoupling-with-moduleresolver-8f042e9f2832](https://medium.com/@dmitrykleymenov/decoupling-with-moduleresolver-8f042e9f2832).

[https://github.com/dmitrykleymenov/module\_resolver](https://github.com/dmitrykleymenov/module_resolver)
