Elixir Streams |> Easy, Concurrent Temp Dirs with ExUnit ✅
Easy, Concurrent Temp Dirs with ExUnit ✅
Sometimes we need a temp directory in tests.
Our first inclination might be to reach for System.tmp_dir!/0
. And that works, but ExUnit has a really nice helper just for us.
Check it out!
🎥 Elixir Streams |> Easy, Concurrent Temp Dirs with ExUnit ✅
Read next Phoenix framework - the world's most loved web framework based on Elixir