IntelliJ IDEA 2021.2 Help

Run EUnit Tests

EUnit is a unit testing framework for Erlang.

EUnit Run Configurations

Running EUnit tests in IntelliJ IDEA is similar to running Erlang applications. The only difference is in the type of the run/debug configuration that you need to create:

  • Erlang Eunit

    Erlang Eunit run config
  • Erlang Rebar Eunit

    Erlang Rebar Eunit run config

    Viewing Test Results

    IntelliJ IDEA also provides a handy Test Runner tool for both run configurations.

    Test Runner Erlang

    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.

      Last modified: 15 June 2021