Interface ITestRun
Representa uma execução de um conjunto de teste contra uma compilação específica.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintaxe
public interface ITestRun : ITestMessageLogOwner, ITestRunBase,
IIdentifiable<int>, IAttachmentOwner, INotifyPropertyChanged
public interface class ITestRun : ITestMessageLogOwner, ITestRunBase,
IIdentifiable<int>, IAttachmentOwner, INotifyPropertyChanged
type ITestRun =
interface
interface ITestMessageLogOwner
interface ITestRunBase
interface IIdentifiable<int>
interface IAttachmentOwner
interface INotifyPropertyChanged
end
Public Interface ITestRun
Inherits ITestMessageLogOwner, ITestRunBase, IIdentifiable(Of Integer),
IAttachmentOwner, INotifyPropertyChanged
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
Attachments | Obtém a coleção de anexos.(herdado de IAttachmentOwner.) |
![]() |
BuildConfigurationId | Gets the build configuration ID for this test run. |
![]() |
BuildDirectory | Gets or sets the path of the output of the build. |
![]() |
BuildFlavor | Gets or sets the flavor of the build (that is, "Release" or "Debug"). |
![]() |
BuildNumber | Name of the build.(herdado de ITestRunBase.) |
![]() |
BuildPlatform | Gets or sets the platform of the build. |
![]() |
BuildUri | Name (as a URI) of the build the run was executed against. As an example: new Uri("vstfs:///Build/Build/1")(herdado de ITestRunBase.) |
![]() |
Comment | Comments entered by those analyzing the run.(herdado de ITestRunBase.) |
![]() |
Controller | The name of the controller of this run(herdado de ITestRunBase.) |
![]() |
DateCompleted | Date the last test completed.(herdado de ITestRunBase.) |
![]() |
DateCreated | Date the run was created.(herdado de ITestRunBase.) |
![]() |
DateDue | Gets the date that this test run is due. |
![]() |
DateStarted | Date the run was started.(herdado de ITestRunBase.) |
![]() |
ErrorMessage | Gets or sets a short description of a failure, if any. |
![]() |
Id | Obtém o identificador.(herdado de IIdentifiable<TKey>.) |
![]() |
IncompleteTests | The number of tests that are not completed. |
![]() |
IsAutomated | Gets or sets a value that indicates whether the test run contains tests that should be automatically executed. |
![]() |
IsBvt | Gets or sets a value that indicates whether this test run is a build verification test. |
![]() |
IsDirty | Returns true if the test run has been changed since the last Save().(herdado de ITestRunBase.) |
![]() |
Iteration | Gets or sets the number of times that this test run has been executed. |
![]() |
LastUpdated | Date the run was last modified (title or owner set).(herdado de ITestRunBase.) |
![]() |
LastUpdatedBy | Last person to update run(herdado de ITestRunBase.) |
![]() |
LastUpdatedByName | Last person to update run(herdado de ITestRunBase.) |
![]() |
LinkedWorkItemCount | The total number of bugs associated with the test results.(herdado de ITestRunBase.) |
![]() |
NotApplicableTests | |
![]() |
Owner | User who started the run.(herdado de ITestRunBase.) |
![]() |
OwnerName | User who started the run.(herdado de ITestRunBase.) |
![]() |
OwnerTeamFoundationId | User who started the run.(herdado de ITestRunBase.) |
![]() |
PassedTests | The number of tests that passed. |
![]() |
PostProcessState | Gets the state of any post-process activities that occur on the server. |
![]() |
Project | Gets the team project for this run. |
![]() |
Revision | Revision number of TestRun for concurrency control(herdado de ITestRunBase.) |
![]() |
State | Gets the current state of this test run. |
![]() |
Statistics | Gets the statistics that detail the number of test cases in various states in this test run. |
![]() |
TestEnvironmentId | The test environment for this run(herdado de ITestRunBase.) |
![]() |
TestMessageLogEntries | Obtém uma coleção de teste de entradas de log de mensagem.(herdado de ITestMessageLogOwner.) |
![]() |
TestPlanId | Returns the ID of the test plan that contains this run or 0 if this is an ad-hoc run.(herdado de ITestRunBase.) |
![]() |
TestSettings | The test settings being used for this test run execution. Null if the run has no test settings.(herdado de ITestRunBase.) |
![]() |
TestSettingsId | ID of the public test settings being used for this test run.(herdado de ITestRunBase.) |
![]() |
Title | Title of the associated run template.(herdado de ITestRunBase.) |
![]() |
TotalTests | The total number of tests in this run. |
![]() |
Type | Gets the type of this test run. |
![]() |
UnanalyzedTests | The number of tests that are not analyzed. |
![]() |
Version | Gets the client version that ran the test. |
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Abort() | Aborts this test run. |
![]() |
Abort(TestRunAbortOptions) | Aborts this test run by using the given options. |
![]() |
AddTest(Int32, Int32, TeamFoundationIdentity) | Adds a test case and configuration to the test run. |
![]() |
AddTest(Int32, String, String, ITmiTestImplementation) | Creates a new test result in the test run against a test configuration. Does not require an existing test case for the test result. Must be followed by a Save(). |
![]() |
AddTest(String) | Adds a new test with given name. Must be followed by a Save() |
![]() |
AddTestPoint(ITestPoint, TeamFoundationIdentity) | Adds a new test point to this test run. |
![]() |
AddTestPoints(IEnumerable<ITestPoint>, TeamFoundationIdentity) | Adds new test points to the test run. Must be followed by a Save(). The test result objects returned by this call are not usable until after the save. |
![]() |
CopyTestSettings(ITestSettings) | Copy the test settings and associate it to the test run.(herdado de ITestRunBase.) |
![]() |
CreateAttachment(Byte[], Int32, Int32) | Creates an attachment for a Test Result from a byte array.(herdado de ITestRunBase.) |
![]() |
CreateAttachment(String) | Cria um anexo de um arquivo. (herdado de IAttachmentOwner.) |
![]() |
CreateAttachment(String, SourceFileAction) | Cria um anexo de um arquivo, excluindo opcionalmente o arquivo de origem após carregamento.(herdado de IAttachmentOwner.) |
![]() |
CreateLogEntry(String, TestMessageLogEntryLevel) | Cria uma entrada de log de mensagem de teste e o adiciona para o TestMessageLogEntryCollection.(herdado de ITestMessageLogOwner.) |
![]() |
Delete() | Removes the given test run and its results from the server.(herdado de ITestRunBase.) |
![]() |
QueryResults() | Returns a collection that contains all test results for this test run. |
![]() |
QueryResults(Boolean) | Retorna todos os resultados do teste para essa execução. |
![]() |
QueryResultsByOutcome(TestOutcome) | Returns a collection of test results for this test run that has the provided test outcome. |
![]() |
QueryResultsByOwner(TeamFoundationIdentity) | Returns a collection of test results for this test run that has the provided test owner. |
![]() |
QueryResultsByStatus(TestResultState) | Returns a collection of test results for this test run that has the provided test status. |
![]() |
Refresh() | Updates the run with new data from the server.(herdado de ITestRunBase.) |
![]() |
Refresh(DateTime) | Updates the test run with the new data from the server only if there exists a test run with newer timestamp than lastUpdated parameter Returns true if test run was updated with the new data and false otherwise |
![]() |
RefreshLogEntries() | Atualiza as entradas de log do servidor.(herdado de ITestMessageLogOwner.) |
![]() |
Save() | Writes the new or updated test run to the server.(herdado de ITestRunBase.) |
![]() |
SaveLogEntries() | Salva alterado entradas de log para o servidor.(herdado de ITestMessageLogOwner.) |
Eventos
Nome | Descrição | |
---|---|---|
![]() |
AttachmentUploadCompleted | Este evento é gerado quando o carregamento de anexo terminar.(herdado de IAttachmentOwner.) |
![]() |
PropertyChanged | (herdado de INotifyPropertyChanged.) |
Comentários
Qualquer conteúdo aqui será atualizado; por favor não adicione o material aqui.
Consulte também
Namespace Microsoft.TeamFoundation.TestManagement.Client
Retornar ao topo