Including deps when running tests

OJ Reeves oj at buffered.io
Thu Mar 17 01:23:31 EDT 2011


Hi all,

I'd like to be able to test a few components that call out to functions
defined in dependency modules. When I run my tests using "rebar eunit
skip_deps=true" it's unable to find the dependent modules as they're not
copied to the .eunit folder nor are the paths for the dependencies included
in the test run.

Basically I'd like to run the equivalent of:

rebar eunit skip_deps=true add_path=$(PWD)/deps/*/ebin

Is there an easy way to do this?

Cheers
OJ

-- 

OJ Reeves
http://buffered.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/rebar_lists.basho.com/attachments/20110317/fecd613f/attachment.html>


More information about the rebar mailing list