Testing
Testing Phoenix Applications with ExUnit: Controllers, LiveView, and Channels
Phoenix gives you a full testing toolkit out of the box. mix phx.new scaffolds a test/ directory with helpers, a pre-configured Ecto sandbox, and imports for every layer of the stack. Most teams don't use half of what's there. This guide covers all of