Questions tagged [common-test]

Common-Test is a powerful test framework that comes with Erlang/OTP

Common test is a very powerful testing framework that can be used for systems and unit testing and even for distributed tests. Its a bit hard to learn just from the documentation but in the chapter in "Learn You Some Erlang": Common Test for Uncommon Tests there is an easy to understand introduction.

For reference find below the official manuals, but by all means read the introduction in the link above first:

47 questions
0
votes
1 answer

Erlang Common Test syntax highlighting on the console?

Is there a way to get syntax hightlighting on the test results that Common Test prints to the console? I am coming from a Ruby background and I like the way Rspec highlights failed and successful messages differently. Is there an option for this in…
Stratus3D
  • 4,648
  • 4
  • 35
  • 67
0
votes
1 answer

Erlang command test failed to write "coverlog"

I'm running Common Test from the command line using: $ run_test -pa ../ebin -spec test.spec.all and got the following error. Why does the io:format() call get a badarg error? Testing testdir2.bds1.ep_SUITE: Starting test, 3 test cases ERROR:…
1 2 3
4