0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Start applications directly from the ct hook

This commit is contained in:
Loïc Hoguin 2014-04-22 20:52:08 +02:00
parent 75218c4be0
commit b377eb9805
6 changed files with 4 additions and 19 deletions

View file

@ -17,6 +17,7 @@
-export([init/2]).
init(_, _) ->
cowboy_test:start([cowboy, gun]),
error_logger:tty(false),
error_logger:add_report_handler(cowboy_error_h),
{ok, undefined}.