anchor.diff:  ﻿[<AutoOpen>]
  +/// Contains tasks to run [xUnit](http://xunit.codeplex.com/) unit tests.
   module Fake.XUnitHelper
   
   open System
   open System.IO
   open System.Text
   
  +/// xUnit parameter type
   type XUnitParams =
       { ToolPath: string;
         ConfigFile :string;
  
positive.code:       TimeOut = TimeSpan.FromMinutes 5.
        OutputDir = null}
  
  ///<summary>Runs xUnit unit tests.</summary>
  ///<param name="setParams">Function used to create an XUnitParams value.  Called with an XUnitParams value configured with the defaults.</param>
  ///<param name="assemblies">Sequence of one or more assemblies containing xUnit unit tests.</param>
  let xUnit setParams assemblies = 
      let details = separated ", " assemblies
      traceStartTask "xUnit" details
  
negative.code:       TimeOut: TimeSpan;
        OutputDir: string}
  
  /// xUnit default parameters
  /// FAKE scans all subfolders to find *xunit.console.exe*
  let XUnitDefaults =
      { ToolPath = findToolInSubPath "xunit.console.exe" (currentDirectory @@ "tools" @@ "xUnit")
        ConfigFile = null;
  