GetImpactedTests Class
Implements the build task that determines impacted tests.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Tasks.Task
Microsoft.TeamFoundation.Build.Tasks.WorkflowTask
Microsoft.TeamFoundation.TestImpact.BuildIntegration.BuildTasks.GetImpactedTests
Namespace: Microsoft.TeamFoundation.TestImpact.BuildIntegration.BuildTasks
Assembly: Microsoft.TeamFoundation.TestImpact.BuildIntegration (in Microsoft.TeamFoundation.TestImpact.BuildIntegration.dll)
Syntax
'Declaration
Public Class GetImpactedTests _
Inherits WorkflowTask
public class GetImpactedTests : WorkflowTask
public ref class GetImpactedTests : public WorkflowTask
type GetImpactedTests =
class
inherit WorkflowTask
end
public class GetImpactedTests extends WorkflowTask
The GetImpactedTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GetImpactedTests |
Top
Properties
Name | Description | |
---|---|---|
Assemblies | Gets or sets the array of assemblies that were built. | |
BuildAgentUri | (Inherited from WorkflowTask.) | |
BuildBinariesRoot | Gets or sets the root directory for this build's binaries. | |
BuildEngine | ITask implementation—[BuildEngine] property. (Inherited from Task.) | |
BuildUri | Gets or sets the build URI (Overrides Task.BuildUri.) | |
Changesets | ||
CodeChanges | Gets the code changes in the build. | |
Extensions | (Inherited from WorkflowTask.) | |
HostObject | ITask implementation—[HostObject] property. (Inherited from Task.) | |
ImpactedTests | Gets the tests that were impacted by the code changes. | |
TeamFoundationServerUrl | Property that gives the URL of the Team Foundation Server. (Inherited from Task.) | |
Tfs | Lazy [init] property that gives access to the Team Foundation Server. (Inherited from Task.) | |
WorkspaceName | Gets or sets the build workspace name. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute | ITask implementation - Execute method. (Inherited from Task.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetParameterLog | (Inherited from Task.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LogCustomEvent | Helper to log a custom event if the task is running within MSBuild. (Inherited from Task.) | |
LogError | Helper to log an error string if the task is running within MSBuild. (Inherited from Task.) | |
LogErrorEvent | Helper to log an error event if the task is running within MSBuild. (Inherited from Task.) | |
LogMessage(String) | Helper to log a message string if the task is running within MSBuild. (Inherited from Task.) | |
LogMessage(String, MessageImportance) | Helper to log a message string if the task is running within MSBuild. (Inherited from Task.) | |
LogMessageEvent | Helper to log a message event if the task is running within MSBuild. (Inherited from Task.) | |
LogWarning | Helper to log a warning string if the task is running within MSBuild. (Inherited from Task.) | |
LogWarningEvent | Helper to log a warning event if the task is running within MSBuild. (Inherited from Task.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.TeamFoundation.TestImpact.BuildIntegration.BuildTasks Namespace