[erlang-questions] Get user input with Common Test

Luis Gerhorst luis@REDACTED
Wed Jun 17 12:11:06 CEST 2015


Hi,
I'm using Common Test to test my application. How can I prompt the user for input in a test case? I tried io:fread("Age: ", "~d") and also, after looking at the Common Test source, io:fread(user, "Age: ", "~d"). The latter one at least shows the prompt but I can't get it to continue with the test case.

Best from Germany,
Luis





More information about the erlang-questions mailing list