# 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:** 12

<div class="post-metadata">

**Author:** ![hauleth](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hauleth/32/18942_2.png) [@hauleth](https://forum.elixirforum.com/u/hauleth)\
**Post date:** [May 14, 2026, 1:52pm UTC](https://forum.elixirforum.com/t/how-do-i-write-elixir-tests/75335/12 "2026-05-14T13:52:36Z")

</div>

I do not remember any particular issues right now. Repatch is my go-to library when I am forced to do mocking so a lot of kudos for this project. However, whenever I can, I simply try to avoid the need, and I am pretty successful with that so far.

---

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