当我运行命令elixir -v或mix,它将返回: {"init terminating in do_boot",{undef,[{elixir,start_cli,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init term
我正在通过unit testing the handle_{call,cast,info} callbacks测试GenServer。我的一个文档测试 S的如下: @doc """
Call the GenServer to retrieve the initial workout
## Examples