<div dir="ltr">I think my solutions would be something along the lines of:<div><br></div><div>setup_app(App, Config) -></div><div>  application:load(App),</div><div>  [application:set_env(App, Par, Val) || C <- ?config(App, Config), {Par, Val} <- C],</div><div>  application:start(App).</div><div><br></div><div>This makes the configuration of the application part of the code, which means it is much easier to parameterize the configuration later on when needed. A static configuration file means you have to re-run CT for each test you want to make with a new configuration, but this allows you to change the configuration as you go along. It also cuts down on the command line configuration considerable, since you only need a single configuration now.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 7:37 PM, Luis Gerhorst <span dir="ltr"><<a href="mailto:erlang-questions-mailing-list@luisgerhorst.de" target="_blank">erlang-questions-mailing-list@luisgerhorst.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div>I've already posted this question on Stack Overflow but nobody has answered it. Maybe anyone here know's how I can do that:</div><div><br></div><div><a href="http://stackoverflow.com/questions/30161772/apply-erlang-configuration-file-for-multiple-applications-to-common-test-with" target="_blank">http://stackoverflow.com/questions/30161772/apply-erlang-configuration-file-for-multiple-applications-to-common-test-with</a></div><div><br></div><div>If you know an answer / need more information but don't have a Stack Exchange account you can of course also answer on the mailing list.</div><div><br></div><div>Thank you very much and best regards,</div><div>Luis</div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">J.</div>
</div>