From 8b8d45699bcd59ceec43c234d1cf89576dfaf997 Mon Sep 17 00:00:00 2001 From: Gaspar Nagy Date: Mon, 3 May 2010 16:53:55 +0200 Subject: [PATCH] Configuration option to disable all output. --- Runtime/TechTalk.SpecFlow.csproj | 1 + Runtime/Tracing/NullListener.cs | 15 +++++++++++++++ changelog.txt | 3 +++ 3 files changed, 19 insertions(+) create mode 100644 Runtime/Tracing/NullListener.cs diff --git a/Runtime/TechTalk.SpecFlow.csproj b/Runtime/TechTalk.SpecFlow.csproj index 407282aaa..570627960 100644 --- a/Runtime/TechTalk.SpecFlow.csproj +++ b/Runtime/TechTalk.SpecFlow.csproj @@ -85,6 +85,7 @@ + diff --git a/Runtime/Tracing/NullListener.cs b/Runtime/Tracing/NullListener.cs new file mode 100644 index 000000000..2ab3033fc --- /dev/null +++ b/Runtime/Tracing/NullListener.cs @@ -0,0 +1,15 @@ +namespace TechTalk.SpecFlow.Tracing +{ + public class NullListener : ITraceListener + { + public void WriteTestOutput(string message) + { + //nop; + } + + public void WriteToolOutput(string message) + { + //nop; + } + } +} \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index c067c600d..d56cc3f9c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -15,6 +15,9 @@ New features: + Single installer for Visual Studio 2008 and 2010 (Issue 6, 10, 11) + Place GeneratedCodeAttribute and 'Designer generated code' region on generated code to avoid having this code parsed by code analysis. (Issue 33) ++ Configuration option to disable all output. (Issue 29) + Use the following config to disable output: + Fixed issues: + SpecFlow Reporting doesn't work with Firefox (Issue 31)