public FailedSpecificationsSummary(VerboseOutput verbose, IConsole console)
 {
     _verbose = verbose;
     _console = console;
 }
Esempio n. 2
0
    static IOutput DetermineOutput(Options options, IConsole console)
    {
      IOutput output = new VerboseOutput(console);

      if (options.Silent)
      {
        output = new SilentOutput();
      }
      if (options.Progress)
      {
        output = new ProgressOutput(console);
      }
      if (options.NoColor)
      {
        return output;
      }

      return new ColorOutput(output);
    }
 public FailedSpecificationsSummary(VerboseOutput verbose, IConsole console)
 {
   _verbose = verbose;
   _console = console;
 }