[erlang-questions] Examples of Common Test in apps built with rebar/relx?

Dmitry Demeshchuk demeshchuk@REDACTED
Tue Oct 28 00:44:08 CET 2014


Oh, sorry, you were talking about using rebar and relx in particular.
Sorry, nevermind my comment, I'm dumb. OTP obviously doesn't use any of
those.

On Mon, Oct 27, 2014 at 3:41 PM, Dmitry Demeshchuk <demeshchuk@REDACTED>
wrote:

> Don't use ejabberd as an example, it's way too weird and full of legacy
> decisions.
>
> As for common_test examples, OTP has some, for example:
> https://github.com/erlang/otp/blob/maint/lib/stdlib/test/gen_server_SUITE.erl
>
> They are usually pretty straightforward.
>
> On Mon, Oct 27, 2014 at 10:45 AM, Nathan Fiedler <nathanfiedler@REDACTED>
> wrote:
>
>> 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.
>>
>> Looking around for examples, I found ejabberd, but I'm not certain I
>> understand how it's wired together, much less tested.
>>
>> 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.
>>
>> Thanks
>>
>> n
>>
>> [1] http://howistart.org/posts/erlang/1
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
>
> --
> Best regards,
> Dmitry Demeshchuk
>



-- 
Best regards,
Dmitry Demeshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141027/1667823d/attachment.htm>


More information about the erlang-questions mailing list