public void Write(string text, GherkinSpecContext specContext)
        {
            if (TextColor.HasValue)
            Console.ForegroundColor = TextColor.Value;

              if (BackColor.HasValue)
            Console.BackgroundColor = BackColor.Value;

              Console.Write(text);

              Console.ResetColor();
        }
 public void WriteLine(string text, GherkinSpecContext specContext) => File.AppendAllText(FilePath, text + Environment.NewLine);
 public void WriteLine(string keyword, string text, GherkinSpecContext specContext) => File.AppendAllText(FilePath, $"{keyword}{text}{Environment.NewLine}");
 public void Write(string text, GherkinSpecContext specContext) => File.AppendAllText(FilePath, text);
 public void Write(string keyword, string text, GherkinSpecContext specContext) => File.AppendAllText(FilePath, $"{keyword}{text}");