/// <summary> /// Log to a trx file. /// </summary> /// <param name="settings">The settings.</param> /// <returns>The same <see cref="VSTestSettings"/> instance so that multiple calls can be chained.</returns> public static VSTestSettings WithVisualStudioLogger(this VSTestSettings settings) { return(settings.WithLogger("trx")); }
/// <summary> /// Log to the AppVeyor logger (which is only available when building your solution on the AppVeyor platform). /// </summary> /// <param name="settings">The settings.</param> /// <returns>The same <see cref="VSTestSettings"/> instance so that multiple calls can be chained.</returns> public static VSTestSettings WithAppVeyorLogger(this VSTestSettings settings) { return(settings.WithLogger("AppVeyor")); }
/// <summary> /// Do not Log. /// </summary> /// <param name="settings">The settings.</param> /// <returns>The same <see cref="VSTestSettings"/> instance so that multiple calls can be chained.</returns> public static VSTestSettings WithoutAnyLogger(this VSTestSettings settings) { return(settings.WithLogger(string.Empty)); }