Umbrella project -- testing

I am working on an umbrella project that has two apps, G and P. P is a phoenix server, G is a Genserver that does work for P when asked.

There is a module M in P that is used by one module H of G. When G runs, all is good – it can find M and use it. But when I try to test H, the part of the Genserver that uses some of P’s code, it cannot find it.

Any advice on this?

Ensure the other application is started in your tear up.

I just found this related advice on sharing resources in an umbrella app:

http://stackoverflow.com/questions/34188037/shared-code-in-umbrella-app

It works like a charm.