<div dir="ltr">Don't use ejabberd as an example, it's way too weird and full of legacy decisions.<div><br></div><div>As for common_test examples, OTP has some, for example: <a href="https://github.com/erlang/otp/blob/maint/lib/stdlib/test/gen_server_SUITE.erl">https://github.com/erlang/otp/blob/maint/lib/stdlib/test/gen_server_SUITE.erl</a></div><div><br></div><div>They are usually pretty straightforward.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 10:45 AM, Nathan Fiedler <span dir="ltr"><<a href="mailto:nathanfiedler@gmail.com" target="_blank">nathanfiedler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm a beginner, so bear in mind I may be doing all of this incorrectly. I started with Fred Hebert's How I Start tutorial [1] and went from there. I have a very simple application that is built and assembled using a combination of rebar and relx; that much works. I have a single eunit test that exercises the one operation I have implemented to date. So far, so good. I would like to instead use Common Test, but I've run into a problem: noproc error. Apparently something is not getting started when I run ct but is fine with eunit and when I run the application manually.<div><br></div><div>Looking around for examples, I found ejabberd, but I'm not certain I understand how it's wired together, much less tested.</div><div><br></div><div>My question to the group is, do you have any favorite (open source) examples of applications that use Common Test and are assembled with rebar and relx? I am being specific because it seems to me that the tools have a big impact on how the code is setup and started.</div><div><br></div><div>Thanks</div><div><br></div><div>n<br><div><br></div><div>[1] <a href="http://howistart.org/posts/erlang/1" target="_blank">http://howistart.org/posts/erlang/1</a></div></div><div><br></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>Best regards,<br>Dmitry Demeshchuk
</div>