Permalink
Browse files

report skipped case count

  • Loading branch information...
1 parent 9878d98 commit 43a088c2c4ec682f04855e1e9bb99fb07ffe987a @mexx committed Nov 28, 2013
Showing with 8 additions and 4 deletions.
  1. +6 −2 src/Fixie/AssemblyResult.cs
  2. +1 −1 src/Fixie/Listeners/ConsoleListener.cs
  3. +1 −1 src/Fixie/Runner.cs
@@ -7,20 +7,24 @@ public class AssemblyResult
{
readonly int passed;
readonly int failed;
+ readonly int skipped;
- public AssemblyResult(int passed, int failed)
+ public AssemblyResult(int passed, int skipped, int failed)
{
this.passed = passed;
this.failed = failed;
+ this.skipped = skipped;
}
public int Passed { get { return passed; } }
+ public int Skipped { get { return skipped; } }
+
public int Failed { get { return failed; } }
public int Total
{
- get { return Passed + Failed; }
+ get { return Passed + Skipped + Failed; }
}
}
}
@@ -38,7 +38,7 @@ public void AssemblyCompleted(Assembly assembly, AssemblyResult result)
var name = assemblyName.Name;
var version = assemblyName.Version;
- Console.WriteLine("{0} passed, {1} failed ({2} {3}).", result.Passed, result.Failed, name, version);
+ Console.WriteLine("{0} passed, {1} skipped, {2} failed ({3} {4}).", result.Passed, result.Skipped, result.Failed, name, version);
Console.WriteLine();
}
}
View
@@ -163,7 +163,7 @@ public void AssemblyCompleted(Assembly assembly, AssemblyResult result)
public AssemblyResult AssemblyResult
{
- get { return new AssemblyResult(passed, failed); }
+ get { return new AssemblyResult(passed, skipped, failed); }
}
}
}

0 comments on commit 43a088c

Please sign in to comment.