Intellij idea eunit测试套件被取消错误

Intellij idea eunit测试套件被取消错误,intellij-idea,erlang,rebar,eunit,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(

我一直在尝试使用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}}

如何解决这个问题?

Erlang。使用-pa修复此问题。

从错误消息判断,模块coach\u mrview\u所有\u docs\u tests位于加载路径之外的目录中。也许您应该尝试在CouchDB目录下搜索coach\u mrview\u all\u docs\u tests.beam文件,如果您找到了它,请确保它所在的目录为您的erl命令提供了-pa选项。谢谢。问题在于.beam文件的路径。