Buddhika Jayawardhana
Buddhika Jayawardhana

Reputation: 131

eunit Test suite was cancelled error

I have been trying to use IntellijIdea for erlang development. I created a project from existing sours using rebar. But when I try to run test cases I get following error. This is what I see on console

/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}}

How can I get rid of this issue?

Upvotes: 1

Views: 573

Answers (1)

2240
2240

Reputation: 1710

The Erlang module is not loaded. Use the -pa option to fix this.

Upvotes: 0

Related Questions