eunit测试套件被取消错误

时间:2015-04-08 12:43:42

标签: intellij-idea erlang rebar eunit

我一直在尝试使用IntellijIdea进行erlang开发。我使用钢筋从现有的盐中创建了一个项目。但是当我尝试运行测试用例时,我得到了以下错误。这就是我在控制台上看到的内容

/usr/lib/erlang/bin/erl -pa /tmp/eunit_teamcity9.tmp -pa /mnt/36024D48024D0E75/Users/Buddhika/Documents/Programming/2015/Apache/CouchDB/couch-mrview -eval "eunit:test([couch_mrview_all_docs_tests], [{report, {eunit_teamcity,[]}}, {no_tty, true}])." -s init stop -noshell
Testing started at 4:57 PM ...
Test suite was cancelled. Reason: {abort,
                               {module_not_found,
                                couch_mrview_all_docs_tests}}

如何摆脱这个问题?

1 个答案:

答案 0 :(得分:0)

Erlang module is not loaded。使用-pa option来解决此问题。