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

Motiejus Jakštys <>
Sat Oct 20 19:37:49 CEST 2012


ping

On Wed, Oct 17, 2012 at 6:48 PM, Motiejus Jakštys <> wrote:
> 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



-- 
Motiejus Jakštys



More information about the erlang-questions mailing list