anchor.diff:  %%--------------------------------------------------------------------
   %% @private
   %% @doc
  +%% Stops all started applications
  +%% @end
  +%%--------------------------------------------------------------------
  +-spec stop_applications(Config :: list(), Apps::[{AppName::atom(), ConfigName::atom()}]) -> ok.
  +stop_applications(Config, Apps) ->
  +    lists:foreach(
  +        fun({AppName, ConfigName}) ->
  +            Nodes = ?config(ConfigName, Config),
  +            lists:foreach(fun(N) -> ok = rpc:call(N, application, stop, [AppName]) end, Nodes)
  +        end, Apps
  +    ).
  +
  +%%--------------------------------------------------------------------
  +%% @private
  +%% @doc
   %% Checks connection with nodes.
   %% @end
   %%--------------------------------------------------------------------
  
positive.code:                             ?TIMEOUT -> throw(cover_not_received)
                          end
                      end, AllNodes
                  )
          end
      catch
          E1:E2 ->
              ct:print("Clearing of environment failed ~p:~p~n" ++
                  "Stacktrace: ~p", [E1, E2, erlang:get_stacktrace()])
      end,
  
      Dockers = proplists:get_value(docker_ids, Config, []),
  
negative.code: %%--------------------------------------------------------------------
  -spec clean_environment(Config :: list(), Apps::[{AppName::atom(), ConfigName::atom()}]) -> ok.
  clean_environment(Config, Apps) ->
      StopStatus = try
          case cover:modules() of
              [] ->
                  stop_applications(Config, Apps);
              _ ->
                  global:register_name(?CLEANING_PROC_NAME, self()),
                  global:sync(),
  
                  stop_applications(Config, Apps),
  
                  AllNodes = lists:flatmap(fun({_, ConfigName}) -> ?config(ConfigName, Config) end, Apps),
  
  