 
   defp run_based_on_setup(options, arguments) do
     if run_as_suite?(options, arguments) do
-      SuiteRun.run_suites(
-        config_path: @default_suite_config,
-        contexts: @context_path
-      )
+      run_suite(options, arguments)
     else
-      SingleContextRun.run_single_context(
-        options, arguments, default_contexts: @default_contexts
-      )
+      run_single_context(options, arguments)
     end
+  end
+
+  defp run_suite(options, _arguments) do
+
+    SuiteRun.run_suites(
+      config_path: config_path(options),
+      contexts: @context_path
+    )
+  end
+
+  defp run_single_context(options, arguments) do
+    SingleContextRun.run_single_context(
+      options, arguments, default_contexts: @default_contexts
+    )
   end
 
   defp run_as_suite?(options, arguments) do


  @shortdoc "Runs all the feature files with WhiteBread"

  @default_suite_config "features/config.exs"
  @context_path "features/contexts/"
  @default_contexts [
    "features/contexts/default_context.exs",

    end
  end

  defp config_path(options) do
    if Dict.has_key?(options, @suite_config_option) do
      Dict.get(options, @suite_config_option)
    else
      @default_suite_config
    end
  end

end
