-
Notifications
You must be signed in to change notification settings - Fork 326
/
Copy pathTestPlatformOptions.cs
44 lines (39 loc) · 1.4 KB
/
TestPlatformOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client
{
using System.Runtime.Serialization;
/// <summary>
/// Options to be passed into the Test Platform during Discovery/Execution.
/// </summary>
[DataContract]
public class TestPlatformOptions
{
/// <summary>
/// Gets or sets the filter criteria for test cases.
/// </summary>
/// <remarks>
/// This is only used when running tests with sources.
/// </remarks>
[DataMember]
public string TestCaseFilter { get; set; }
/// <summary>
/// Gets or sets the filter options if there are any.
/// </summary>
/// <remarks>
/// This will be valid only if TestCase filter is present.
/// </remarks>
[DataMember]
public FilterOptions FilterOptions { get; set; }
/// <summary>
/// Gets or sets whether Metrics should be collected or not.
/// </summary>
[DataMember]
public bool CollectMetrics { get; set; }
/// <summary>
/// Gets or sets whether default adapters should be skipped or not.
/// </summary>
[DataMember]
public bool SkipDefaultAdapters { get; set; }
}
}