我正在使用rebar
来编译我的应用程序。其实,这是两个应用:如何在两个应用程序节点上使用“rebar ct”?
deps/
apps/A/
apps/B/
apps/B/suites
...其中B
取决于A
。这在apps/B/src/B.app.src
中正确配置。但是,当我尝试运行rebar ct
时,它无法测试B
,报告无法找到A.app
。
在详细模式下运行rebar ct
表明,它的设置代码搜索路径(-pa
)包括apps/B/ebin
,并deps/foo/ebin
,deps/bar/ebin
等
这是不包括apps/A/ebin
。
如何使用Common Test来测试由多个应用程序组成的Erlang“应用程序”?