This PR implements doctest_eunit_report, an Eunit reporter/listener.
The goal is to provide a better experience with doctest in parallel with EUnit because EUnit is the basis of doc tests.
doctest_eunit_report
doctest_eunit_report provides a go-to definition for the exact location of the error and displays a portion of the code from where the error occurs, for example:
eunit_progress | rebar3
rebar3 uses by default eunit_progress to print EUnit tests.
doctest_eunit_report vs eunit_progress
Below is a simple comparison between both EUnit reporters.
This PR implements
doctest_eunit_report
, an Eunit reporter/listener. The goal is to provide a better experience withdoctest
in parallel with EUnit because EUnit is the basis of doc tests.doctest_eunit_report
doctest_eunit_report
provides a go-to definition for the exact location of the error and displays a portion of the code from where the error occurs, for example:eunit_progress
| rebar3rebar3
uses by default eunit_progress to print EUnit tests.doctest_eunit_report
vseunit_progress
Below is a simple comparison between both EUnit reporters.
eunit_progress
doctest_eunit_report