Starting CB inside of common test

25 views
Skip to first unread message

David Welton

unread,
Jan 15, 2014, 9:56:27 AM1/15/14
to chica...@googlegroups.com
Hi,

I'm looking into the idea of starting CB and my CB app inside of a
Common Test suite in order to run some tests of this, that, and the
other thing.

Any ideas on how that might be made to work?

ok = boss:start(),

Is what I have, but it doesn't seem to start my application.

Thanks
--
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

Jose Luis Gordo Romero

unread,
Jan 15, 2014, 10:27:44 AM1/15/14
to chica...@googlegroups.com
Hi David,

There are a similar solution to be able to run functional/eunit test in boss_rebar:


Hope this helps

Best


--
Jose Luis Gordo Romero


2014/1/15 David Welton <davidn...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CA%2Bb9R_uVdfa%2BadTRwpkTTgg9f62RQU9M23OW%3DLXzO%3DR6qFeFyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

David Welton

unread,
Jan 15, 2014, 10:31:12 AM1/15/14
to chica...@googlegroups.com
> There are a similar solution to be able to run functional/eunit test in
> boss_rebar:
>
> https://github.com/ChicagoBoss/ChicagoBoss/blob/master/priv/rebar/boss_rebar.erl#L322

Ok; but then what's the proper way to load that file?

Thanks!

Jose Luis Gordo Romero

unread,
Jan 15, 2014, 10:41:21 AM1/15/14
to chica...@googlegroups.com
A rebar plugin like the eunit inside boss_rebar should work:


The eunit module shipped with cb hooks the start to compile and call boss_rebar:boss_start


I don't know if current rebar version can be hooked now and improve the integration.

Best

--
Jose Luis Gordo Romero


2014/1/15 David Welton <davidn...@gmail.com>
> There are a similar solution to be able to run functional/eunit test in
> boss_rebar:
>
> https://github.com/ChicagoBoss/ChicagoBoss/blob/master/priv/rebar/boss_rebar.erl#L322

--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.

David Welton

unread,
Jan 16, 2014, 5:29:42 AM1/16/14
to chica...@googlegroups.com
Hi,

On Wed, Jan 15, 2014 at 4:41 PM, Jose Luis Gordo Romero
<jgo...@gmail.com> wrote:
> A rebar plugin like the eunit inside boss_rebar should work:

The goal would be to be able to run it without rebar, if possible.
Reply all
Reply to author
Forward
0 new messages