anchor.diff:      filename:absname(rebar_utils:get_cwd()) =:= rebar_config:get_global(base_dir, undefined).
   
   %% Gets the boss.config central configuration file
  -boss_config() ->
  -	{ok, BossConfig} = file:consult(?BOSS_CONFIG),
  -	hd(BossConfig).
  +boss_config(Command) ->
  +    BossConfFile = case lists:prefix("test_", Command) of
  +        false ->
  +            ?BOSS_CONFIG_FILE;
  +        true ->
  +            ?BOSS_TEST_CONFIG_FILE
  +    end,
  +    case file:consult(BossConfFile) of
  +        {error,enoent} ->
  +            io:format("FATAL: Config file ~p not found.~n", [BossConfFile]),
  +            halt(1);
  +        {ok, [BossConfig]} ->
  +            {BossConfig, BossConfFile}
  +    end.
   
   %%--------------------------------------------------------------------
   %% @doc Get Boss config value app, key
  
positive.code: %%       Searchs in boss config for a given App and Key
  %% @end
  %%--------------------------------------------------------------------
  boss_config_value(App, Key) ->
  	case lists:keyfind(App, 1, boss_config()) of
  		false -> 
  			{error, boss_config_app_not_found};
  		{App, AppConfig} -> 
  
negative.code: %%       Set's the ebin cb_apps and loads the connector 
  %% @end
  %%--------------------------------------------------------------------
  init(_RebarConf, AppFile, Command) ->
      %% Compile and load the boss_rebar code, this can't be compiled
  	%% as a normal boss lib without the rebar source dep
  	%% The load of ./rebar boss:
  