# A fun, but trivial, limitation in Elixir ExUnit (/Macros)

**URL:** <https://forum.devtalk.com/t/a-fun-but-trivial-limitation-in-elixir-exunit-macros/100081>\
**Category:** Blogs/Articles/Talks/Podcasts\
**Tags:** elixir, testing, blog-post\
**Created:** [10 March 2023 12:48 UTC](https://forum.devtalk.com/t/a-fun-but-trivial-limitation-in-elixir-exunit-macros/100081 "2023-03-10T12:48:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulanthonywilson](https://forum.devtalk.com/user_avatar/forum.devtalk.com/paulanthonywilson/32/2494_2.png) [@paulanthonywilson](https://forum.devtalk.com/u/paulanthonywilson)\
**Post date:** [10 March 2023 12:48 UTC](https://forum.devtalk.com/t/a-fun-but-trivial-limitation-in-elixir-exunit-macros/100081/1 "2023-03-10T12:48:33Z")

</div>

> **[A fun, but trivial, limitation in ExUnit (/Macros)](https://furlough.merecomplexities.com/elixir/2023/03/10/a-fun-but-trivial-limitation-in-exunit-macros.html)**
>
> Today I learnt that it is forbidden to use an attribute which is a port or a (reference) in an ExUnit test. (Pids are just fine).

It seems unlikely that anyone will find these facts interesting or useful, but here they are anyway.
