Exemple #1
0
 /// <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"));
 }
Exemple #2
0
 /// <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"));
 }
Exemple #3
0
 /// <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));
 }