samedi 28 juillet 2018

test test test test test test test test test test test test

I tried calling ct:run_test/1 in a test case in the first module like this:

-module(ct_hook_SUITE).

my_test_case(_Config) -> Result = ct:run_test([{suite, [ct_hook_usage_SUITE]}, {ct_hooks, [hook]}, {logdir, "logs/example_test"}]), ct:pal("~w", [Result]), ok. But I got the following error:

common test {error,{error,interactive_mode}} I don't really understand this error and there aren't any options related to interactive mode for ct:run_test/1. Any suggestions?

Aucun commentaire:

Enregistrer un commentaire