Using IO.puts and IO.inspect in ExUnit tests

Debugging without access to these two functions may be a pain in the neck. Fortunately, there is a simple solution, you can apply in just a few seconds.

Go to your config/test.exs file and you'll probably see:

# Print only warnings and errors during test
config :logger, level: :warn

The only thing you have to do is change it to:

config :logger,
  backends: [:console],
  compile_time_purge_level: :debug

After your work, I would recommend you to revert changes.