[erlang-questions] print data to the shell during common tests

Lukas Larsson <>
Sun Jan 30 01:39:33 CET 2011

You can use either ct:print/3 or ct:pal/3 to print to the shell within a
testcase in common_test.


On Sun, Jan 30, 2011 at 12:01 AM, Pablo Platt <> wrote:

> Hi
> Is it possible to print info to the shell during a test when using common
> tests?
> io:format/2 doesn't work because ct redirect standard output.
> I'm running tests using rebar:
> /rebar ct
> Thanks

More information about the erlang-questions mailing list