Using IO.puts and IO.inspect in ExUnit tests
By default in the test env, Phoenix doesn't show IO.puts/IO.inspect
outputs in the console.
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.