public BuildFeatureFixtureResult Run(BuildFeatureSettings settings, IDictionary <string, string> arguments = null)
        {
            var remaining = new FakeRemainingArguments(arguments);
            var exitCode  = ((IBuildFeature)this).Run(remaining, settings);

            return(new BuildFeatureFixtureResult
            {
                ExitCode = exitCode,
                AttachedDebugger = Debugger.Attached,
                ExecutedScript = ScriptEngine.Session.ExecutedScript
            });
        }
        int IBuildFeature.Run(IRemainingArguments arguments, BuildFeatureSettings settings)
        {
            var feature = new BuildFeature(FileSystem, Environment, Bootstrapper, ModuleSearcher, Log);

            return(feature.Run(arguments, settings));
        }