Sdílet prostřednictvím


ITestRun – rozhraní

 

Představuje spuštění sady testů proti konkrétní sestavení.

Obor názvů:   Microsoft.TeamFoundation.TestManagement.Client
Sestavení:  Microsoft.TeamFoundation.TestManagement.Client (v Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntaxe

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

Vlastnosti

Název Popis
System_CAPS_pubproperty Attachments

Získá kolekce příloh.(Zděděno od IAttachmentOwner.)

System_CAPS_pubproperty BuildConfigurationId

Gets the build configuration ID for this test run.

System_CAPS_pubproperty BuildDirectory

Gets or sets the path of the output of the build.

System_CAPS_pubproperty BuildFlavor

Gets or sets the flavor of the build (that is, "Release" or "Debug").

System_CAPS_pubproperty BuildNumber

Name of the build.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty BuildPlatform

Gets or sets the platform of the build.

System_CAPS_pubproperty BuildUri

Name (as a URI) of the build the run was executed against.

As an example: new Uri("vstfs:///Build/Build/1")(Zděděno od ITestRunBase.)

System_CAPS_pubproperty Comment

Comments entered by those analyzing the run.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty Controller

The name of the controller of this run(Zděděno od ITestRunBase.)

System_CAPS_pubproperty DateCompleted

Date the last test completed.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty DateCreated

Date the run was created.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty DateDue

Gets the date that this test run is due.

System_CAPS_pubproperty DateStarted

Date the run was started.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty ErrorMessage

Gets or sets a short description of a failure, if any.

System_CAPS_pubproperty Id

Získá identifikátor.(Zděděno od IIdentifiable<TKey>.)

System_CAPS_pubproperty IncompleteTests

The number of tests that are not completed.

System_CAPS_pubproperty IsAutomated

Gets or sets a value that indicates whether the test run contains tests that should be automatically executed.

System_CAPS_pubproperty IsBvt

Gets or sets a value that indicates whether this test run is a build verification test.

System_CAPS_pubproperty IsDirty

Returns true if the test run has been changed since the last Save().(Zděděno od ITestRunBase.)

System_CAPS_pubproperty Iteration

Gets or sets the number of times that this test run has been executed.

System_CAPS_pubproperty LastUpdated

Date the run was last modified (title or owner set).(Zděděno od ITestRunBase.)

System_CAPS_pubproperty LastUpdatedBy

Last person to update run(Zděděno od ITestRunBase.)

System_CAPS_pubproperty LastUpdatedByName

Last person to update run(Zděděno od ITestRunBase.)

System_CAPS_pubproperty LinkedWorkItemCount

The total number of bugs associated with the test results.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty NotApplicableTests

System_CAPS_pubproperty Owner

User who started the run.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty OwnerName

User who started the run.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty OwnerTeamFoundationId

User who started the run.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty PassedTests

The number of tests that passed.

System_CAPS_pubproperty PostProcessState

Gets the state of any post-process activities that occur on the server.

System_CAPS_pubproperty Project

Gets the team project for this run.

System_CAPS_pubproperty Revision

Revision number of TestRun for concurrency control(Zděděno od ITestRunBase.)

System_CAPS_pubproperty State

Gets the current state of this test run.

System_CAPS_pubproperty Statistics

Gets the statistics that detail the number of test cases in various states in this test run.

System_CAPS_pubproperty TestEnvironmentId

The test environment for this run(Zděděno od ITestRunBase.)

System_CAPS_pubproperty TestMessageLogEntries

Kolekce zkoušky získává položky protokolu zpráv.(Zděděno od ITestMessageLogOwner.)

System_CAPS_pubproperty TestPlanId

Returns the ID of the test plan that contains this run or 0 if this is an ad-hoc run.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty TestSettings

The test settings being used for this test run execution. Null if the run has no test settings.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty TestSettingsId

ID of the public test settings being used for this test run.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty Title

Title of the associated run template.(Zděděno od ITestRunBase.)

System_CAPS_pubproperty TotalTests

The total number of tests in this run.

System_CAPS_pubproperty Type

Gets the type of this test run.

System_CAPS_pubproperty UnanalyzedTests

The number of tests that are not analyzed.

System_CAPS_pubproperty Version

Gets the client version that ran the test.

Metody

Název Popis
System_CAPS_pubmethod Abort()

Aborts this test run.

System_CAPS_pubmethod Abort(TestRunAbortOptions)

Aborts this test run by using the given options.

System_CAPS_pubmethod AddTest(Int32, Int32, TeamFoundationIdentity)

Adds a test case and configuration to the test run.

System_CAPS_pubmethod 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().

System_CAPS_pubmethod AddTest(String)

Adds a new test with given name.

Must be followed by a Save()

System_CAPS_pubmethod AddTestPoint(ITestPoint, TeamFoundationIdentity)

Adds a new test point to this test run.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod CopyTestSettings(ITestSettings)

Copy the test settings and associate it to the test run.(Zděděno od ITestRunBase.)

System_CAPS_pubmethod CreateAttachment(Byte[], Int32, Int32)

Creates an attachment for a Test Result from a byte array.(Zděděno od ITestRunBase.)

System_CAPS_pubmethod CreateAttachment(String)

Vytvoří přílohu ze souboru. (Zděděno od IAttachmentOwner.)

System_CAPS_pubmethod CreateAttachment(String, SourceFileAction)

Vytvoří přílohu ze souboru, můžete také odstranit zdrojový soubor po odeslání.(Zděděno od IAttachmentOwner.)

System_CAPS_pubmethod CreateLogEntry(String, TestMessageLogEntryLevel)

Vytvoří položku testovací zpráva protokolu a přidá ji TestMessageLogEntryCollection.(Zděděno od ITestMessageLogOwner.)

System_CAPS_pubmethod Delete()

Removes the given test run and its results from the server.(Zděděno od ITestRunBase.)

System_CAPS_pubmethod QueryResults()

Returns a collection that contains all test results for this test run.

System_CAPS_pubmethod QueryResults(Boolean)

Vrátí že všechny výsledky testu pro tohoto spuštění.

System_CAPS_pubmethod QueryResultsByOutcome(TestOutcome)

Returns a collection of test results for this test run that has the provided test outcome.

System_CAPS_pubmethod QueryResultsByOwner(TeamFoundationIdentity)

Returns a collection of test results for this test run that has the provided test owner.

System_CAPS_pubmethod QueryResultsByStatus(TestResultState)

Returns a collection of test results for this test run that has the provided test status.

System_CAPS_pubmethod Refresh()

Updates the run with new data from the server.(Zděděno od ITestRunBase.)

System_CAPS_pubmethod 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

System_CAPS_pubmethod RefreshLogEntries()

Aktualizuje položky protokolu ze serveru.(Zděděno od ITestMessageLogOwner.)

System_CAPS_pubmethod Save()

Writes the new or updated test run to the server.(Zděděno od ITestRunBase.)

System_CAPS_pubmethod SaveLogEntries()

Ukládá položky protokolu změněn na serveru.(Zděděno od ITestMessageLogOwner.)

Události

Název Popis
System_CAPS_pubevent AttachmentUploadCompleted

Tato událost je vyvolána po dokončení odesílání příloh.(Zděděno od IAttachmentOwner.)

System_CAPS_pubevent PropertyChanged

(Zděděno od INotifyPropertyChanged.)

Poznámky

Žádný obsah zde budou aktualizovány; prosím nepřidávejte materiálu zde.

Viz také

Microsoft.TeamFoundation.TestManagement.Client – obor názvů

Zpátky na začátek