[erlang-questions] is EUnit test run in verbose mode?

Motiejus Jakštys desired.mta@REDACTED
Wed Oct 17 19:48:53 CEST 2012


Hi,

I want to know if particular test instance is ran in verbose mode.

For example, this is the way run PropEr test from EUnit:

    z_string_test_() ->
        Opts = [{to_file, user}],
        [
            ?_assertEqual(true, proper:quickcheck(s_utf8a(), Opts))
        ].

Option `{to_file, user}' makes it possible to see the output of PropEr
if I need it. However, I want to switch that option on only if EUnit
test is started in verbose mode.

Is there a way to know verbosity of the test run?

Regards,
Motiejus



More information about the erlang-questions mailing list