# How do I write Elixir tests?

**URL:** <https://forum.elixirforum.com/t/how-do-i-write-elixir-tests/75335>\
**Category:** Blog Posts\
**Tags:** testing, exunit, blogs-by-hauleth\
**Created:** [May 13, 2026, 9:35pm UTC](https://forum.elixirforum.com/t/how-do-i-write-elixir-tests/75335 "2026-05-13T21:35:44Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![martosaur](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/martosaur/32/41071_2.png) [@martosaur](https://forum.elixirforum.com/u/martosaur)\
**Post date:** [May 14, 2026, 9:07pm UTC](https://forum.elixirforum.com/t/how-do-i-write-elixir-tests/75335/15 "2026-05-14T21:07:38Z")

</div>

I personally don’t hate mocking, but I limit myself exclusively to `Mox`, because it’s painful enough to use. It takes some boilerplate and manual setup and ownership tracking, and this is exactly the kind of incentive I need to not overuse it.

---

_[View the full topic](https://forum.elixirforum.com/t/how-do-i-write-elixir-tests/75335)._
