Run EUnit Tests
EUnit is a unit testing framework for Erlang.
EUnit Run Configurations
Erlang Rebar Eunit
Viewing Test Results
IntelliJ IDEA also provides a handy Test Runner tool for both run configurations.
Along with displaying detailed test results in the Run tool window, Test Runner lets you rerun failed tests, jump to lines that caused exceptions, view test session history, import and export information, and so on.