/// <summary> /// Get test suite by their id /// </summary> /// <param name="tfsClient"> /// The <see cref="TfsClient"/> used for communicating with team foundation server. /// </param> /// <param name="id"> /// The test suite id. /// </param> /// <returns> /// The <see cref="ITestSuiteBase"/> that matches the suite id. /// </returns> public static ITestSuiteBase GetSuiteById(TfsClient tfsClient, int id) { if (tfsClient == null) { throw new ArgumentNullException(nameof(tfsClient)); } return(tfsClient.TeamProject.TestSuites.Query("SELECT * FROM TestSuite") .SingleOrDefault(s => s.Id.Equals(id))); }
public SuiteManager(TfsClient client) { _client = client; }
public TestCaseManager(TfsClient client) { _client = client; }
public ConfigManager(TfsClient client) { _client = client; }
public PlanManager(TfsClient client) { _client = client; }