Documentation
¶
Index ¶
- type AddTestResultsToTestRunArgs
- type AddWorkItemToTestLinksArgs
- type Attachment
- type Client
- type ClientImpl
- func (client *ClientImpl) AddTestResultsToTestRun(ctx context.Context, args AddTestResultsToTestRunArgs) (*[]test.TestCaseResult, error)
- func (client *ClientImpl) AddWorkItemToTestLinks(ctx context.Context, args AddWorkItemToTestLinksArgs) (*test.WorkItemToTestLinks, error)
- func (client *ClientImpl) CreateTestIterationResultAttachment(ctx context.Context, args CreateTestIterationResultAttachmentArgs) (*test.TestAttachmentReference, error)
- func (client *ClientImpl) CreateTestResultAttachment(ctx context.Context, args CreateTestResultAttachmentArgs) (*test.TestAttachmentReference, error)
- func (client *ClientImpl) CreateTestRun(ctx context.Context, args CreateTestRunArgs) (*test.TestRun, error)
- func (client *ClientImpl) CreateTestRunAttachment(ctx context.Context, args CreateTestRunAttachmentArgs) (*test.TestAttachmentReference, error)
- func (client *ClientImpl) CreateTestSettings(ctx context.Context, args CreateTestSettingsArgs) (*int, error)
- func (client *ClientImpl) CreateTestSubResultAttachment(ctx context.Context, args CreateTestSubResultAttachmentArgs) (*test.TestAttachmentReference, error)
- func (client *ClientImpl) DeleteTestMethodToWorkItemLink(ctx context.Context, args DeleteTestMethodToWorkItemLinkArgs) (*bool, error)
- func (client *ClientImpl) DeleteTestResultAttachment(ctx context.Context, args DeleteTestResultAttachmentArgs) error
- func (client *ClientImpl) DeleteTestRun(ctx context.Context, args DeleteTestRunArgs) error
- func (client *ClientImpl) DeleteTestRunAttachment(ctx context.Context, args DeleteTestRunAttachmentArgs) error
- func (client *ClientImpl) DeleteTestSettings(ctx context.Context, args DeleteTestSettingsArgs) error
- func (client *ClientImpl) GetBugsLinkedToTestResult(ctx context.Context, args GetBugsLinkedToTestResultArgs) (*[]test.WorkItemReference, error)
- func (client *ClientImpl) GetBuildCodeCoverage(ctx context.Context, args GetBuildCodeCoverageArgs) (*[]test.BuildCoverage, error)
- func (client *ClientImpl) GetCodeCoverageSummary(ctx context.Context, args GetCodeCoverageSummaryArgs) (*test.CodeCoverageSummary, error)
- func (client *ClientImpl) GetTestLogStoreEndpointDetailsForBuildLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForBuildLogArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) GetTestLogStoreEndpointDetailsForResultLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForResultLogArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) GetTestLogStoreEndpointDetailsForRunLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForRunLogArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) GetTestLogStoreEndpointDetailsForSubResultLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForSubResultLogArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) GetTestLogsForBuild(ctx context.Context, args GetTestLogsForBuildArgs) (*GetTestLogsForBuildResponseValue, error)
- func (client *ClientImpl) GetTestResultAttachmentContent(ctx context.Context, args GetTestResultAttachmentContentArgs) (io.ReadCloser, error)
- func (client *ClientImpl) GetTestResultAttachmentZip(ctx context.Context, args GetTestResultAttachmentZipArgs) (io.ReadCloser, error)
- func (client *ClientImpl) GetTestResultAttachments(ctx context.Context, args GetTestResultAttachmentsArgs) (*[]test.TestAttachment, error)
- func (client *ClientImpl) GetTestResultById(ctx context.Context, args GetTestResultByIdArgs) (*test.TestCaseResult, error)
- func (client *ClientImpl) GetTestResultDetailsForBuild(ctx context.Context, args GetTestResultDetailsForBuildArgs) (*test.TestResultsDetails, error)
- func (client *ClientImpl) GetTestResultDetailsForRelease(ctx context.Context, args GetTestResultDetailsForReleaseArgs) (*test.TestResultsDetails, error)
- func (client *ClientImpl) GetTestResultLogs(ctx context.Context, args GetTestResultLogsArgs) (*GetTestResultLogsResponseValue, error)
- func (client *ClientImpl) GetTestResults(ctx context.Context, args GetTestResultsArgs) (*[]test.TestCaseResult, error)
- func (client *ClientImpl) GetTestResultsByQuery(ctx context.Context, args GetTestResultsByQueryArgs) (*test.TestResultsQuery, error)
- func (client *ClientImpl) GetTestResultsByQueryWiql(ctx context.Context, args GetTestResultsByQueryWiqlArgs) (*[]test.TestCaseResult, error)
- func (client *ClientImpl) GetTestResultsSettings(ctx context.Context, args GetTestResultsSettingsArgs) (*test.TestResultsSettings, error)
- func (client *ClientImpl) GetTestRunAttachmentContent(ctx context.Context, args GetTestRunAttachmentContentArgs) (io.ReadCloser, error)
- func (client *ClientImpl) GetTestRunAttachmentZip(ctx context.Context, args GetTestRunAttachmentZipArgs) (io.ReadCloser, error)
- func (client *ClientImpl) GetTestRunAttachments(ctx context.Context, args GetTestRunAttachmentsArgs) (*[]test.TestAttachment, error)
- func (client *ClientImpl) GetTestRunById(ctx context.Context, args GetTestRunByIdArgs) (*test.TestRun, error)
- func (client *ClientImpl) GetTestRunCodeCoverage(ctx context.Context, args GetTestRunCodeCoverageArgs) (*[]test.TestRunCoverage, error)
- func (client *ClientImpl) GetTestRunLogs(ctx context.Context, args GetTestRunLogsArgs) (*GetTestRunLogsResponseValue, error)
- func (client *ClientImpl) GetTestRunStatistics(ctx context.Context, args GetTestRunStatisticsArgs) (*test.TestRunStatistic, error)
- func (client *ClientImpl) GetTestRuns(ctx context.Context, args GetTestRunsArgs) (*[]test.TestRun, error)
- func (client *ClientImpl) GetTestSettingsById(ctx context.Context, args GetTestSettingsByIdArgs) (*test.TestSettings, error)
- func (client *ClientImpl) GetTestSubResultAttachmentContent(ctx context.Context, args GetTestSubResultAttachmentContentArgs) (io.ReadCloser, error)
- func (client *ClientImpl) GetTestSubResultAttachmentZip(ctx context.Context, args GetTestSubResultAttachmentZipArgs) (io.ReadCloser, error)
- func (client *ClientImpl) GetTestSubResultAttachments(ctx context.Context, args GetTestSubResultAttachmentsArgs) (*[]test.TestAttachment, error)
- func (client *ClientImpl) GetTestSubResultLogs(ctx context.Context, args GetTestSubResultLogsArgs) (*GetTestSubResultLogsResponseValue, error)
- func (client *ClientImpl) QueryResultTrendForBuild(ctx context.Context, args QueryResultTrendForBuildArgs) (*[]test.AggregatedDataForResultTrend, error)
- func (client *ClientImpl) QueryResultTrendForRelease(ctx context.Context, args QueryResultTrendForReleaseArgs) (*[]test.AggregatedDataForResultTrend, error)
- func (client *ClientImpl) QueryTestHistory(ctx context.Context, args QueryTestHistoryArgs) (*test.TestHistoryQuery, error)
- func (client *ClientImpl) QueryTestMethodLinkedWorkItems(ctx context.Context, args QueryTestMethodLinkedWorkItemsArgs) (*test.TestToWorkItemLinks, error)
- func (client *ClientImpl) QueryTestResultHistory(ctx context.Context, args QueryTestResultHistoryArgs) (*test.TestResultHistory, error)
- func (client *ClientImpl) QueryTestResultWorkItems(ctx context.Context, args QueryTestResultWorkItemsArgs) (*[]test.WorkItemReference, error)
- func (client *ClientImpl) QueryTestResultsReportForBuild(ctx context.Context, args QueryTestResultsReportForBuildArgs) (*test.TestResultSummary, error)
- func (client *ClientImpl) QueryTestResultsReportForRelease(ctx context.Context, args QueryTestResultsReportForReleaseArgs) (*test.TestResultSummary, error)
- func (client *ClientImpl) QueryTestResultsSummaryForReleases(ctx context.Context, args QueryTestResultsSummaryForReleasesArgs) (*[]test.TestResultSummary, error)
- func (client *ClientImpl) QueryTestRuns(ctx context.Context, args QueryTestRunsArgs) (*QueryTestRunsResponseValue, error)
- func (client *ClientImpl) QueryTestSummaryByRequirement(ctx context.Context, args QueryTestSummaryByRequirementArgs) (*[]test.TestSummaryForWorkItem, error)
- func (client *ClientImpl) TestLogStoreEndpointDetailsForBuild(ctx context.Context, args TestLogStoreEndpointDetailsForBuildArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) TestLogStoreEndpointDetailsForResult(ctx context.Context, args TestLogStoreEndpointDetailsForResultArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) TestLogStoreEndpointDetailsForRun(ctx context.Context, args TestLogStoreEndpointDetailsForRunArgs) (*test.TestLogStoreEndpointDetails, error)
- func (client *ClientImpl) UpdateCodeCoverageSummary(ctx context.Context, args UpdateCodeCoverageSummaryArgs) error
- func (client *ClientImpl) UpdatePipelinesTestSettings(ctx context.Context, args UpdatePipelinesTestSettingsArgs) (*test.TestResultsSettings, error)
- func (client *ClientImpl) UpdateTestResults(ctx context.Context, args UpdateTestResultsArgs) (*[]test.TestCaseResult, error)
- func (client *ClientImpl) UpdateTestRun(ctx context.Context, args UpdateTestRunArgs) (*test.TestRun, error)
- type CreateTestIterationResultAttachmentArgs
- type CreateTestResultAttachmentArgs
- type CreateTestRunArgs
- type CreateTestRunAttachmentArgs
- type CreateTestSettingsArgs
- type CreateTestSubResultAttachmentArgs
- type DeleteTestMethodToWorkItemLinkArgs
- type DeleteTestResultAttachmentArgs
- type DeleteTestRunArgs
- type DeleteTestRunAttachmentArgs
- type DeleteTestSettingsArgs
- type GetBugsLinkedToTestResultArgs
- type GetBuildCodeCoverageArgs
- type GetCodeCoverageSummaryArgs
- type GetTestLogStoreEndpointDetailsForBuildLogArgs
- type GetTestLogStoreEndpointDetailsForResultLogArgs
- type GetTestLogStoreEndpointDetailsForRunLogArgs
- type GetTestLogStoreEndpointDetailsForSubResultLogArgs
- type GetTestLogsForBuildArgs
- type GetTestLogsForBuildResponseValue
- type GetTestResultAttachmentContentArgs
- type GetTestResultAttachmentZipArgs
- type GetTestResultAttachmentsArgs
- type GetTestResultByIdArgs
- type GetTestResultDetailsForBuildArgs
- type GetTestResultDetailsForReleaseArgs
- type GetTestResultLogsArgs
- type GetTestResultLogsResponseValue
- type GetTestResultsArgs
- type GetTestResultsByQueryArgs
- type GetTestResultsByQueryWiqlArgs
- type GetTestResultsSettingsArgs
- type GetTestRunAttachmentContentArgs
- type GetTestRunAttachmentZipArgs
- type GetTestRunAttachmentsArgs
- type GetTestRunByIdArgs
- type GetTestRunCodeCoverageArgs
- type GetTestRunLogsArgs
- type GetTestRunLogsResponseValue
- type GetTestRunStatisticsArgs
- type GetTestRunsArgs
- type GetTestSettingsByIdArgs
- type GetTestSubResultAttachmentContentArgs
- type GetTestSubResultAttachmentZipArgs
- type GetTestSubResultAttachmentsArgs
- type GetTestSubResultLogsArgs
- type GetTestSubResultLogsResponseValue
- type QueryResultTrendForBuildArgs
- type QueryResultTrendForReleaseArgs
- type QueryTestHistoryArgs
- type QueryTestMethodLinkedWorkItemsArgs
- type QueryTestResultHistoryArgs
- type QueryTestResultWorkItemsArgs
- type QueryTestResultsReportForBuildArgs
- type QueryTestResultsReportForReleaseArgs
- type QueryTestResultsSummaryForReleasesArgs
- type QueryTestRunsArgs
- type QueryTestRunsResponseValue
- type QueryTestSummaryByRequirementArgs
- type TestLogStoreEndpointDetailsForBuildArgs
- type TestLogStoreEndpointDetailsForResultArgs
- type TestLogStoreEndpointDetailsForRunArgs
- type UpdateCodeCoverageSummaryArgs
- type UpdatePipelinesTestSettingsArgs
- type UpdateTestResultsArgs
- type UpdateTestRunArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTestResultsToTestRunArgs ¶
type AddTestResultsToTestRunArgs struct { // (required) Results *[]test.TestCaseResult // (required) Project ID or project name Project *string // (required) RunId *int }
Arguments for the AddTestResultsToTestRun function
type AddWorkItemToTestLinksArgs ¶
type AddWorkItemToTestLinksArgs struct { // (required) WorkItemToTestLinks *test.WorkItemToTestLinks // (required) Project ID or project name Project *string }
Arguments for the AddWorkItemToTestLinks function
type Attachment ¶
type Client ¶
type Client interface { // [Preview API] AddTestResultsToTestRun(context.Context, AddTestResultsToTestRunArgs) (*[]test.TestCaseResult, error) // [Preview API] AddWorkItemToTestLinks(context.Context, AddWorkItemToTestLinksArgs) (*test.WorkItemToTestLinks, error) // [Preview API] CreateTestIterationResultAttachment(context.Context, CreateTestIterationResultAttachmentArgs) (*test.TestAttachmentReference, error) // [Preview API] CreateTestResultAttachment(context.Context, CreateTestResultAttachmentArgs) (*test.TestAttachmentReference, error) // [Preview API] CreateTestRun(context.Context, CreateTestRunArgs) (*test.TestRun, error) // [Preview API] CreateTestRunAttachment(context.Context, CreateTestRunAttachmentArgs) (*test.TestAttachmentReference, error) // [Preview API] CreateTestSettings(context.Context, CreateTestSettingsArgs) (*int, error) // [Preview API] CreateTestSubResultAttachment(context.Context, CreateTestSubResultAttachmentArgs) (*test.TestAttachmentReference, error) // [Preview API] DeleteTestMethodToWorkItemLink(context.Context, DeleteTestMethodToWorkItemLinkArgs) (*bool, error) // [Preview API] DeleteTestResultAttachment(context.Context, DeleteTestResultAttachmentArgs) error // [Preview API] DeleteTestRun(context.Context, DeleteTestRunArgs) error // [Preview API] DeleteTestRunAttachment(context.Context, DeleteTestRunAttachmentArgs) error // [Preview API] DeleteTestSettings(context.Context, DeleteTestSettingsArgs) error // [Preview API] GetBugsLinkedToTestResult(context.Context, GetBugsLinkedToTestResultArgs) (*[]test.WorkItemReference, error) // [Preview API] GetBuildCodeCoverage(context.Context, GetBuildCodeCoverageArgs) (*[]test.BuildCoverage, error) // [Preview API] GetCodeCoverageSummary(context.Context, GetCodeCoverageSummaryArgs) (*test.CodeCoverageSummary, error) // [Preview API] GetTestLogsForBuild(context.Context, GetTestLogsForBuildArgs) (*GetTestLogsForBuildResponseValue, error) // [Preview API] GetTestLogStoreEndpointDetailsForBuildLog(context.Context, GetTestLogStoreEndpointDetailsForBuildLogArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] GetTestLogStoreEndpointDetailsForResultLog(context.Context, GetTestLogStoreEndpointDetailsForResultLogArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] GetTestLogStoreEndpointDetailsForRunLog(context.Context, GetTestLogStoreEndpointDetailsForRunLogArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] GetTestLogStoreEndpointDetailsForSubResultLog(context.Context, GetTestLogStoreEndpointDetailsForSubResultLogArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] Returns a test result attachment GetTestResultAttachmentContent(context.Context, GetTestResultAttachmentContentArgs) (io.ReadCloser, error) // [Preview API] GetTestResultAttachments(context.Context, GetTestResultAttachmentsArgs) (*[]test.TestAttachment, error) // [Preview API] Returns a test result attachment GetTestResultAttachmentZip(context.Context, GetTestResultAttachmentZipArgs) (io.ReadCloser, error) // [Preview API] GetTestResultById(context.Context, GetTestResultByIdArgs) (*test.TestCaseResult, error) // [Preview API] GetTestResultDetailsForBuild(context.Context, GetTestResultDetailsForBuildArgs) (*test.TestResultsDetails, error) // [Preview API] GetTestResultDetailsForRelease(context.Context, GetTestResultDetailsForReleaseArgs) (*test.TestResultsDetails, error) // [Preview API] GetTestResultLogs(context.Context, GetTestResultLogsArgs) (*GetTestResultLogsResponseValue, error) // [Preview API] GetTestResults(context.Context, GetTestResultsArgs) (*[]test.TestCaseResult, error) // [Preview API] GetTestResultsByQuery(context.Context, GetTestResultsByQueryArgs) (*test.TestResultsQuery, error) // [Preview API] GetTestResultsByQueryWiql(context.Context, GetTestResultsByQueryWiqlArgs) (*[]test.TestCaseResult, error) // [Preview API] Get TestResultsSettings data GetTestResultsSettings(context.Context, GetTestResultsSettingsArgs) (*test.TestResultsSettings, error) // [Preview API] Returns a test run attachment GetTestRunAttachmentContent(context.Context, GetTestRunAttachmentContentArgs) (io.ReadCloser, error) // [Preview API] GetTestRunAttachments(context.Context, GetTestRunAttachmentsArgs) (*[]test.TestAttachment, error) // [Preview API] Returns a test run attachment GetTestRunAttachmentZip(context.Context, GetTestRunAttachmentZipArgs) (io.ReadCloser, error) // [Preview API] GetTestRunById(context.Context, GetTestRunByIdArgs) (*test.TestRun, error) // [Preview API] GetTestRunCodeCoverage(context.Context, GetTestRunCodeCoverageArgs) (*[]test.TestRunCoverage, error) // [Preview API] GetTestRunLogs(context.Context, GetTestRunLogsArgs) (*GetTestRunLogsResponseValue, error) // [Preview API] GetTestRuns(context.Context, GetTestRunsArgs) (*[]test.TestRun, error) // Get test run statistics , used when we want to get summary of a run by outcome. GetTestRunStatistics(context.Context, GetTestRunStatisticsArgs) (*test.TestRunStatistic, error) // [Preview API] GetTestSettingsById(context.Context, GetTestSettingsByIdArgs) (*test.TestSettings, error) // [Preview API] Returns a test sub result attachment GetTestSubResultAttachmentContent(context.Context, GetTestSubResultAttachmentContentArgs) (io.ReadCloser, error) // [Preview API] Returns attachment references for test sub result. GetTestSubResultAttachments(context.Context, GetTestSubResultAttachmentsArgs) (*[]test.TestAttachment, error) // [Preview API] Returns a test sub result attachment GetTestSubResultAttachmentZip(context.Context, GetTestSubResultAttachmentZipArgs) (io.ReadCloser, error) // [Preview API] GetTestSubResultLogs(context.Context, GetTestSubResultLogsArgs) (*GetTestSubResultLogsResponseValue, error) // [Preview API] QueryResultTrendForBuild(context.Context, QueryResultTrendForBuildArgs) (*[]test.AggregatedDataForResultTrend, error) // [Preview API] QueryResultTrendForRelease(context.Context, QueryResultTrendForReleaseArgs) (*[]test.AggregatedDataForResultTrend, error) // [Preview API] Get history of a test method using TestHistoryQuery QueryTestHistory(context.Context, QueryTestHistoryArgs) (*test.TestHistoryQuery, error) // [Preview API] QueryTestMethodLinkedWorkItems(context.Context, QueryTestMethodLinkedWorkItemsArgs) (*test.TestToWorkItemLinks, error) // [Preview API] QueryTestResultHistory(context.Context, QueryTestResultHistoryArgs) (*test.TestResultHistory, error) // [Preview API] QueryTestResultsReportForBuild(context.Context, QueryTestResultsReportForBuildArgs) (*test.TestResultSummary, error) // [Preview API] QueryTestResultsReportForRelease(context.Context, QueryTestResultsReportForReleaseArgs) (*test.TestResultSummary, error) // [Preview API] QueryTestResultsSummaryForReleases(context.Context, QueryTestResultsSummaryForReleasesArgs) (*[]test.TestResultSummary, error) // [Preview API] QueryTestResultWorkItems(context.Context, QueryTestResultWorkItemsArgs) (*[]test.WorkItemReference, error) // [Preview API] Query Test Runs based on filters. Mandatory fields are minLastUpdatedDate and maxLastUpdatedDate. QueryTestRuns(context.Context, QueryTestRunsArgs) (*QueryTestRunsResponseValue, error) // [Preview API] QueryTestSummaryByRequirement(context.Context, QueryTestSummaryByRequirementArgs) (*[]test.TestSummaryForWorkItem, error) // [Preview API] TestLogStoreEndpointDetailsForBuild(context.Context, TestLogStoreEndpointDetailsForBuildArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] TestLogStoreEndpointDetailsForResult(context.Context, TestLogStoreEndpointDetailsForResultArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] TestLogStoreEndpointDetailsForRun(context.Context, TestLogStoreEndpointDetailsForRunArgs) (*test.TestLogStoreEndpointDetails, error) // [Preview API] http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10 Request: Json of code coverage summary UpdateCodeCoverageSummary(context.Context, UpdateCodeCoverageSummaryArgs) error // [Preview API] Update project settings of test results UpdatePipelinesTestSettings(context.Context, UpdatePipelinesTestSettingsArgs) (*test.TestResultsSettings, error) // [Preview API] UpdateTestResults(context.Context, UpdateTestResultsArgs) (*[]test.TestCaseResult, error) // [Preview API] UpdateTestRun(context.Context, UpdateTestRunArgs) (*test.TestRun, error) }
func NewClient ¶
func NewClient(ctx context.Context, connection *azuredevops.Connection) Client
type ClientImpl ¶
type ClientImpl struct {
Client azuredevops.Client
}
func (*ClientImpl) AddTestResultsToTestRun ¶
func (client *ClientImpl) AddTestResultsToTestRun(ctx context.Context, args AddTestResultsToTestRunArgs) (*[]test.TestCaseResult, error)
[Preview API]
func (*ClientImpl) AddWorkItemToTestLinks ¶
func (client *ClientImpl) AddWorkItemToTestLinks(ctx context.Context, args AddWorkItemToTestLinksArgs) (*test.WorkItemToTestLinks, error)
[Preview API]
func (*ClientImpl) CreateTestIterationResultAttachment ¶
func (client *ClientImpl) CreateTestIterationResultAttachment(ctx context.Context, args CreateTestIterationResultAttachmentArgs) (*test.TestAttachmentReference, error)
[Preview API]
func (*ClientImpl) CreateTestResultAttachment ¶
func (client *ClientImpl) CreateTestResultAttachment(ctx context.Context, args CreateTestResultAttachmentArgs) (*test.TestAttachmentReference, error)
[Preview API]
func (*ClientImpl) CreateTestRun ¶
func (client *ClientImpl) CreateTestRun(ctx context.Context, args CreateTestRunArgs) (*test.TestRun, error)
[Preview API]
func (*ClientImpl) CreateTestRunAttachment ¶
func (client *ClientImpl) CreateTestRunAttachment(ctx context.Context, args CreateTestRunAttachmentArgs) (*test.TestAttachmentReference, error)
[Preview API]
func (*ClientImpl) CreateTestSettings ¶
func (client *ClientImpl) CreateTestSettings(ctx context.Context, args CreateTestSettingsArgs) (*int, error)
[Preview API]
func (*ClientImpl) CreateTestSubResultAttachment ¶
func (client *ClientImpl) CreateTestSubResultAttachment(ctx context.Context, args CreateTestSubResultAttachmentArgs) (*test.TestAttachmentReference, error)
[Preview API]
func (*ClientImpl) DeleteTestMethodToWorkItemLink ¶
func (client *ClientImpl) DeleteTestMethodToWorkItemLink(ctx context.Context, args DeleteTestMethodToWorkItemLinkArgs) (*bool, error)
[Preview API]
func (*ClientImpl) DeleteTestResultAttachment ¶
func (client *ClientImpl) DeleteTestResultAttachment(ctx context.Context, args DeleteTestResultAttachmentArgs) error
[Preview API]
func (*ClientImpl) DeleteTestRun ¶
func (client *ClientImpl) DeleteTestRun(ctx context.Context, args DeleteTestRunArgs) error
[Preview API]
func (*ClientImpl) DeleteTestRunAttachment ¶
func (client *ClientImpl) DeleteTestRunAttachment(ctx context.Context, args DeleteTestRunAttachmentArgs) error
[Preview API]
func (*ClientImpl) DeleteTestSettings ¶
func (client *ClientImpl) DeleteTestSettings(ctx context.Context, args DeleteTestSettingsArgs) error
[Preview API]
func (*ClientImpl) GetBugsLinkedToTestResult ¶
func (client *ClientImpl) GetBugsLinkedToTestResult(ctx context.Context, args GetBugsLinkedToTestResultArgs) (*[]test.WorkItemReference, error)
[Preview API]
func (*ClientImpl) GetBuildCodeCoverage ¶
func (client *ClientImpl) GetBuildCodeCoverage(ctx context.Context, args GetBuildCodeCoverageArgs) (*[]test.BuildCoverage, error)
[Preview API]
func (*ClientImpl) GetCodeCoverageSummary ¶
func (client *ClientImpl) GetCodeCoverageSummary(ctx context.Context, args GetCodeCoverageSummaryArgs) (*test.CodeCoverageSummary, error)
[Preview API]
func (*ClientImpl) GetTestLogStoreEndpointDetailsForBuildLog ¶
func (client *ClientImpl) GetTestLogStoreEndpointDetailsForBuildLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForBuildLogArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) GetTestLogStoreEndpointDetailsForResultLog ¶
func (client *ClientImpl) GetTestLogStoreEndpointDetailsForResultLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForResultLogArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) GetTestLogStoreEndpointDetailsForRunLog ¶
func (client *ClientImpl) GetTestLogStoreEndpointDetailsForRunLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForRunLogArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) GetTestLogStoreEndpointDetailsForSubResultLog ¶
func (client *ClientImpl) GetTestLogStoreEndpointDetailsForSubResultLog(ctx context.Context, args GetTestLogStoreEndpointDetailsForSubResultLogArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) GetTestLogsForBuild ¶
func (client *ClientImpl) GetTestLogsForBuild(ctx context.Context, args GetTestLogsForBuildArgs) (*GetTestLogsForBuildResponseValue, error)
[Preview API]
func (*ClientImpl) GetTestResultAttachmentContent ¶
func (client *ClientImpl) GetTestResultAttachmentContent(ctx context.Context, args GetTestResultAttachmentContentArgs) (io.ReadCloser, error)
[Preview API] Returns a test result attachment
func (*ClientImpl) GetTestResultAttachmentZip ¶
func (client *ClientImpl) GetTestResultAttachmentZip(ctx context.Context, args GetTestResultAttachmentZipArgs) (io.ReadCloser, error)
[Preview API] Returns a test result attachment
func (*ClientImpl) GetTestResultAttachments ¶
func (client *ClientImpl) GetTestResultAttachments(ctx context.Context, args GetTestResultAttachmentsArgs) (*[]test.TestAttachment, error)
[Preview API]
func (*ClientImpl) GetTestResultById ¶
func (client *ClientImpl) GetTestResultById(ctx context.Context, args GetTestResultByIdArgs) (*test.TestCaseResult, error)
[Preview API]
func (*ClientImpl) GetTestResultDetailsForBuild ¶
func (client *ClientImpl) GetTestResultDetailsForBuild(ctx context.Context, args GetTestResultDetailsForBuildArgs) (*test.TestResultsDetails, error)
[Preview API]
func (*ClientImpl) GetTestResultDetailsForRelease ¶
func (client *ClientImpl) GetTestResultDetailsForRelease(ctx context.Context, args GetTestResultDetailsForReleaseArgs) (*test.TestResultsDetails, error)
[Preview API]
func (*ClientImpl) GetTestResultLogs ¶
func (client *ClientImpl) GetTestResultLogs(ctx context.Context, args GetTestResultLogsArgs) (*GetTestResultLogsResponseValue, error)
[Preview API]
func (*ClientImpl) GetTestResults ¶
func (client *ClientImpl) GetTestResults(ctx context.Context, args GetTestResultsArgs) (*[]test.TestCaseResult, error)
[Preview API]
func (*ClientImpl) GetTestResultsByQuery ¶
func (client *ClientImpl) GetTestResultsByQuery(ctx context.Context, args GetTestResultsByQueryArgs) (*test.TestResultsQuery, error)
[Preview API]
func (*ClientImpl) GetTestResultsByQueryWiql ¶
func (client *ClientImpl) GetTestResultsByQueryWiql(ctx context.Context, args GetTestResultsByQueryWiqlArgs) (*[]test.TestCaseResult, error)
[Preview API]
func (*ClientImpl) GetTestResultsSettings ¶
func (client *ClientImpl) GetTestResultsSettings(ctx context.Context, args GetTestResultsSettingsArgs) (*test.TestResultsSettings, error)
[Preview API] Get TestResultsSettings data
func (*ClientImpl) GetTestRunAttachmentContent ¶
func (client *ClientImpl) GetTestRunAttachmentContent(ctx context.Context, args GetTestRunAttachmentContentArgs) (io.ReadCloser, error)
[Preview API] Returns a test run attachment
func (*ClientImpl) GetTestRunAttachmentZip ¶
func (client *ClientImpl) GetTestRunAttachmentZip(ctx context.Context, args GetTestRunAttachmentZipArgs) (io.ReadCloser, error)
[Preview API] Returns a test run attachment
func (*ClientImpl) GetTestRunAttachments ¶
func (client *ClientImpl) GetTestRunAttachments(ctx context.Context, args GetTestRunAttachmentsArgs) (*[]test.TestAttachment, error)
[Preview API]
func (*ClientImpl) GetTestRunById ¶
func (client *ClientImpl) GetTestRunById(ctx context.Context, args GetTestRunByIdArgs) (*test.TestRun, error)
[Preview API]
func (*ClientImpl) GetTestRunCodeCoverage ¶
func (client *ClientImpl) GetTestRunCodeCoverage(ctx context.Context, args GetTestRunCodeCoverageArgs) (*[]test.TestRunCoverage, error)
[Preview API]
func (*ClientImpl) GetTestRunLogs ¶
func (client *ClientImpl) GetTestRunLogs(ctx context.Context, args GetTestRunLogsArgs) (*GetTestRunLogsResponseValue, error)
[Preview API]
func (*ClientImpl) GetTestRunStatistics ¶
func (client *ClientImpl) GetTestRunStatistics(ctx context.Context, args GetTestRunStatisticsArgs) (*test.TestRunStatistic, error)
Get test run statistics , used when we want to get summary of a run by outcome.
func (*ClientImpl) GetTestRuns ¶
func (client *ClientImpl) GetTestRuns(ctx context.Context, args GetTestRunsArgs) (*[]test.TestRun, error)
[Preview API]
func (*ClientImpl) GetTestSettingsById ¶
func (client *ClientImpl) GetTestSettingsById(ctx context.Context, args GetTestSettingsByIdArgs) (*test.TestSettings, error)
[Preview API]
func (*ClientImpl) GetTestSubResultAttachmentContent ¶
func (client *ClientImpl) GetTestSubResultAttachmentContent(ctx context.Context, args GetTestSubResultAttachmentContentArgs) (io.ReadCloser, error)
[Preview API] Returns a test sub result attachment
func (*ClientImpl) GetTestSubResultAttachmentZip ¶
func (client *ClientImpl) GetTestSubResultAttachmentZip(ctx context.Context, args GetTestSubResultAttachmentZipArgs) (io.ReadCloser, error)
[Preview API] Returns a test sub result attachment
func (*ClientImpl) GetTestSubResultAttachments ¶
func (client *ClientImpl) GetTestSubResultAttachments(ctx context.Context, args GetTestSubResultAttachmentsArgs) (*[]test.TestAttachment, error)
[Preview API] Returns attachment references for test sub result.
func (*ClientImpl) GetTestSubResultLogs ¶
func (client *ClientImpl) GetTestSubResultLogs(ctx context.Context, args GetTestSubResultLogsArgs) (*GetTestSubResultLogsResponseValue, error)
[Preview API]
func (*ClientImpl) QueryResultTrendForBuild ¶
func (client *ClientImpl) QueryResultTrendForBuild(ctx context.Context, args QueryResultTrendForBuildArgs) (*[]test.AggregatedDataForResultTrend, error)
[Preview API]
func (*ClientImpl) QueryResultTrendForRelease ¶
func (client *ClientImpl) QueryResultTrendForRelease(ctx context.Context, args QueryResultTrendForReleaseArgs) (*[]test.AggregatedDataForResultTrend, error)
[Preview API]
func (*ClientImpl) QueryTestHistory ¶
func (client *ClientImpl) QueryTestHistory(ctx context.Context, args QueryTestHistoryArgs) (*test.TestHistoryQuery, error)
[Preview API] Get history of a test method using TestHistoryQuery
func (*ClientImpl) QueryTestMethodLinkedWorkItems ¶
func (client *ClientImpl) QueryTestMethodLinkedWorkItems(ctx context.Context, args QueryTestMethodLinkedWorkItemsArgs) (*test.TestToWorkItemLinks, error)
[Preview API]
func (*ClientImpl) QueryTestResultHistory ¶
func (client *ClientImpl) QueryTestResultHistory(ctx context.Context, args QueryTestResultHistoryArgs) (*test.TestResultHistory, error)
[Preview API]
func (*ClientImpl) QueryTestResultWorkItems ¶
func (client *ClientImpl) QueryTestResultWorkItems(ctx context.Context, args QueryTestResultWorkItemsArgs) (*[]test.WorkItemReference, error)
[Preview API]
func (*ClientImpl) QueryTestResultsReportForBuild ¶
func (client *ClientImpl) QueryTestResultsReportForBuild(ctx context.Context, args QueryTestResultsReportForBuildArgs) (*test.TestResultSummary, error)
[Preview API]
func (*ClientImpl) QueryTestResultsReportForRelease ¶
func (client *ClientImpl) QueryTestResultsReportForRelease(ctx context.Context, args QueryTestResultsReportForReleaseArgs) (*test.TestResultSummary, error)
[Preview API]
func (*ClientImpl) QueryTestResultsSummaryForReleases ¶
func (client *ClientImpl) QueryTestResultsSummaryForReleases(ctx context.Context, args QueryTestResultsSummaryForReleasesArgs) (*[]test.TestResultSummary, error)
[Preview API]
func (*ClientImpl) QueryTestRuns ¶
func (client *ClientImpl) QueryTestRuns(ctx context.Context, args QueryTestRunsArgs) (*QueryTestRunsResponseValue, error)
[Preview API] Query Test Runs based on filters. Mandatory fields are minLastUpdatedDate and maxLastUpdatedDate.
func (*ClientImpl) QueryTestSummaryByRequirement ¶
func (client *ClientImpl) QueryTestSummaryByRequirement(ctx context.Context, args QueryTestSummaryByRequirementArgs) (*[]test.TestSummaryForWorkItem, error)
[Preview API]
func (*ClientImpl) TestLogStoreEndpointDetailsForBuild ¶
func (client *ClientImpl) TestLogStoreEndpointDetailsForBuild(ctx context.Context, args TestLogStoreEndpointDetailsForBuildArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) TestLogStoreEndpointDetailsForResult ¶
func (client *ClientImpl) TestLogStoreEndpointDetailsForResult(ctx context.Context, args TestLogStoreEndpointDetailsForResultArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) TestLogStoreEndpointDetailsForRun ¶
func (client *ClientImpl) TestLogStoreEndpointDetailsForRun(ctx context.Context, args TestLogStoreEndpointDetailsForRunArgs) (*test.TestLogStoreEndpointDetails, error)
[Preview API]
func (*ClientImpl) UpdateCodeCoverageSummary ¶
func (client *ClientImpl) UpdateCodeCoverageSummary(ctx context.Context, args UpdateCodeCoverageSummaryArgs) error
[Preview API] http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10 Request: Json of code coverage summary
func (*ClientImpl) UpdatePipelinesTestSettings ¶
func (client *ClientImpl) UpdatePipelinesTestSettings(ctx context.Context, args UpdatePipelinesTestSettingsArgs) (*test.TestResultsSettings, error)
[Preview API] Update project settings of test results
func (*ClientImpl) UpdateTestResults ¶
func (client *ClientImpl) UpdateTestResults(ctx context.Context, args UpdateTestResultsArgs) (*[]test.TestCaseResult, error)
[Preview API]
func (*ClientImpl) UpdateTestRun ¶
func (client *ClientImpl) UpdateTestRun(ctx context.Context, args UpdateTestRunArgs) (*test.TestRun, error)
[Preview API]
type CreateTestIterationResultAttachmentArgs ¶
type CreateTestIterationResultAttachmentArgs struct { // (required) AttachmentRequestModel *test.TestAttachmentRequestModel // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) IterationId *int // (optional) ActionPath *string }
Arguments for the CreateTestIterationResultAttachment function
type CreateTestResultAttachmentArgs ¶
type CreateTestResultAttachmentArgs struct { // (required) AttachmentRequestModel *test.TestAttachmentRequestModel // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int }
Arguments for the CreateTestResultAttachment function
type CreateTestRunArgs ¶
type CreateTestRunArgs struct { // (required) TestRun *test.RunCreateModel // (required) Project ID or project name Project *string }
Arguments for the CreateTestRun function
type CreateTestRunAttachmentArgs ¶
type CreateTestRunAttachmentArgs struct { // (required) AttachmentRequestModel *test.TestAttachmentRequestModel // (required) Project ID or project name Project *string // (required) RunId *int }
Arguments for the CreateTestRunAttachment function
type CreateTestSettingsArgs ¶
type CreateTestSettingsArgs struct { // (required) TestSettings *test.TestSettings // (required) Project ID or project name Project *string }
Arguments for the CreateTestSettings function
type CreateTestSubResultAttachmentArgs ¶
type CreateTestSubResultAttachmentArgs struct { // (required) AttachmentRequestModel *test.TestAttachmentRequestModel // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) TestSubResultId *int }
Arguments for the CreateTestSubResultAttachment function
type DeleteTestMethodToWorkItemLinkArgs ¶
type DeleteTestMethodToWorkItemLinkArgs struct { // (required) Project ID or project name Project *string // (required) TestName *string // (required) WorkItemId *int }
Arguments for the DeleteTestMethodToWorkItemLink function
type DeleteTestResultAttachmentArgs ¶
type DeleteTestResultAttachmentArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) AttachmentId *int }
Arguments for the DeleteTestResultAttachment function
type DeleteTestRunArgs ¶
type DeleteTestRunArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int }
Arguments for the DeleteTestRun function
type DeleteTestRunAttachmentArgs ¶
type DeleteTestRunAttachmentArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) AttachmentId *int }
Arguments for the DeleteTestRunAttachment function
type DeleteTestSettingsArgs ¶
type DeleteTestSettingsArgs struct { // (required) Project ID or project name Project *string // (required) TestSettingsId *int }
Arguments for the DeleteTestSettings function
type GetBugsLinkedToTestResultArgs ¶
type GetBugsLinkedToTestResultArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int }
Arguments for the GetBugsLinkedToTestResult function
type GetBuildCodeCoverageArgs ¶
type GetBuildCodeCoverageArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (required) Flags *int }
Arguments for the GetBuildCodeCoverage function
type GetCodeCoverageSummaryArgs ¶
type GetCodeCoverageSummaryArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (optional) DeltaBuildId *int }
Arguments for the GetCodeCoverageSummary function
type GetTestLogStoreEndpointDetailsForBuildLogArgs ¶
type GetTestLogStoreEndpointDetailsForBuildLogArgs struct { // (required) Project ID or project name Project *string // (required) Build *int // (required) Type *test.TestLogType // (required) FilePath *string }
Arguments for the GetTestLogStoreEndpointDetailsForBuildLog function
type GetTestLogStoreEndpointDetailsForResultLogArgs ¶
type GetTestLogStoreEndpointDetailsForResultLogArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) ResultId *int // (required) Type *test.TestLogType // (required) FilePath *string }
Arguments for the GetTestLogStoreEndpointDetailsForResultLog function
type GetTestLogStoreEndpointDetailsForRunLogArgs ¶
type GetTestLogStoreEndpointDetailsForRunLogArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) Type *test.TestLogType // (required) FilePath *string }
Arguments for the GetTestLogStoreEndpointDetailsForRunLog function
type GetTestLogStoreEndpointDetailsForSubResultLogArgs ¶
type GetTestLogStoreEndpointDetailsForSubResultLogArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) ResultId *int // (required) SubResultId *int // (required) Type *test.TestLogType // (required) FilePath *string }
Arguments for the GetTestLogStoreEndpointDetailsForSubResultLog function
type GetTestLogsForBuildArgs ¶
type GetTestLogsForBuildArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (required) Type *test.TestLogType // (optional) DirectoryPath *string // (optional) FileNamePrefix *string // (optional) FetchMetaData *bool // (optional) Top *int // (optional) Header to pass the continuationToken ContinuationToken *string }
Arguments for the GetTestLogsForBuild function
type GetTestLogsForBuildResponseValue ¶
type GetTestLogsForBuildResponseValue struct { Value []test.TestLog // The continuation token to be used to get the next page of results. ContinuationToken string }
Return type for the GetTestLogsForBuild function
type GetTestResultAttachmentContentArgs ¶
type GetTestResultAttachmentContentArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) AttachmentId *int }
Arguments for the GetTestResultAttachmentContent function
type GetTestResultAttachmentZipArgs ¶
type GetTestResultAttachmentZipArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) AttachmentId *int }
Arguments for the GetTestResultAttachmentZip function
type GetTestResultAttachmentsArgs ¶
type GetTestResultAttachmentsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int }
Arguments for the GetTestResultAttachments function
type GetTestResultByIdArgs ¶
type GetTestResultByIdArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestResultId *int // (optional) DetailsToInclude *test.ResultDetails }
Arguments for the GetTestResultById function
type GetTestResultDetailsForBuildArgs ¶
type GetTestResultDetailsForBuildArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (optional) PublishContext *string // (optional) GroupBy *string // (optional) Filter *string // (optional) Orderby *string // (optional) ShouldIncludeResults *bool // (optional) QueryRunSummaryForInProgress *bool }
Arguments for the GetTestResultDetailsForBuild function
type GetTestResultDetailsForReleaseArgs ¶
type GetTestResultDetailsForReleaseArgs struct { // (required) Project ID or project name Project *string // (required) ReleaseId *int // (required) ReleaseEnvId *int // (optional) PublishContext *string // (optional) GroupBy *string // (optional) Filter *string // (optional) Orderby *string // (optional) ShouldIncludeResults *bool // (optional) QueryRunSummaryForInProgress *bool }
Arguments for the GetTestResultDetailsForRelease function
type GetTestResultLogsArgs ¶
type GetTestResultLogsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) ResultId *int // (required) Type *test.TestLogType // (optional) DirectoryPath *string // (optional) FileNamePrefix *string // (optional) FetchMetaData *bool // (optional) Top *int // (optional) Header to pass the continuationToken ContinuationToken *string }
Arguments for the GetTestResultLogs function
type GetTestResultLogsResponseValue ¶
type GetTestResultLogsResponseValue struct { Value []test.TestLog // The continuation token to be used to get the next page of results. ContinuationToken string }
Return type for the GetTestResultLogs function
type GetTestResultsArgs ¶
type GetTestResultsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (optional) DetailsToInclude *test.ResultDetails // (optional) Skip *int // (optional) Top *int // (optional) Outcomes *[]test.TestOutcome }
Arguments for the GetTestResults function
type GetTestResultsByQueryArgs ¶
type GetTestResultsByQueryArgs struct { // (required) Query *test.TestResultsQuery // (required) Project ID or project name Project *string }
Arguments for the GetTestResultsByQuery function
type GetTestResultsByQueryWiqlArgs ¶
type GetTestResultsByQueryWiqlArgs struct { // (required) QueryModel *test.QueryModel // (required) Project ID or project name Project *string // (optional) IncludeResultDetails *bool // (optional) IncludeIterationDetails *bool // (optional) Skip *int // (optional) Top *int }
Arguments for the GetTestResultsByQueryWiql function
type GetTestResultsSettingsArgs ¶
type GetTestResultsSettingsArgs struct { // (required) Project ID or project name Project *string // (optional) SettingsType *test.TestResultsSettingsType }
Arguments for the GetTestResultsSettings function
type GetTestRunAttachmentContentArgs ¶
type GetTestRunAttachmentContentArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) AttachmentId *int }
Arguments for the GetTestRunAttachmentContent function
type GetTestRunAttachmentZipArgs ¶
type GetTestRunAttachmentZipArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) AttachmentId *int }
Arguments for the GetTestRunAttachmentZip function
type GetTestRunAttachmentsArgs ¶
type GetTestRunAttachmentsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int }
Arguments for the GetTestRunAttachments function
type GetTestRunByIdArgs ¶
type GetTestRunByIdArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (optional) IncludeDetails *bool // (optional) IncludeTags *bool }
Arguments for the GetTestRunById function
type GetTestRunCodeCoverageArgs ¶
type GetTestRunCodeCoverageArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) Flags *int }
Arguments for the GetTestRunCodeCoverage function
type GetTestRunLogsArgs ¶
type GetTestRunLogsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) Type *test.TestLogType // (optional) DirectoryPath *string // (optional) FileNamePrefix *string // (optional) FetchMetaData *bool // (optional) Top *int // (optional) Header to pass the continuationToken ContinuationToken *string }
Arguments for the GetTestRunLogs function
type GetTestRunLogsResponseValue ¶
type GetTestRunLogsResponseValue struct { Value []test.TestLog // The continuation token to be used to get the next page of results. ContinuationToken string }
Return type for the GetTestRunLogs function
type GetTestRunStatisticsArgs ¶
type GetTestRunStatisticsArgs struct { // (required) Project ID or project name Project *string // (required) ID of the run to get. RunId *int }
Arguments for the GetTestRunStatistics function
type GetTestRunsArgs ¶
type GetTestRunsArgs struct { // (required) Project ID or project name Project *string // (optional) BuildUri *string // (optional) Owner *string // (optional) TmiRunId *string // (optional) PlanId *int // (optional) IncludeRunDetails *bool // (optional) Automated *bool // (optional) Skip *int // (optional) Top *int }
Arguments for the GetTestRuns function
type GetTestSettingsByIdArgs ¶
type GetTestSettingsByIdArgs struct { // (required) Project ID or project name Project *string // (required) TestSettingsId *int }
Arguments for the GetTestSettingsById function
type GetTestSubResultAttachmentContentArgs ¶
type GetTestSubResultAttachmentContentArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) AttachmentId *int // (required) TestSubResultId *int }
Arguments for the GetTestSubResultAttachmentContent function
type GetTestSubResultAttachmentZipArgs ¶
type GetTestSubResultAttachmentZipArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) AttachmentId *int // (required) TestSubResultId *int }
Arguments for the GetTestSubResultAttachmentZip function
type GetTestSubResultAttachmentsArgs ¶
type GetTestSubResultAttachmentsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestCaseResultId *int // (required) TestSubResultId *int }
Arguments for the GetTestSubResultAttachments function
type GetTestSubResultLogsArgs ¶
type GetTestSubResultLogsArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) ResultId *int // (required) SubResultId *int // (required) Type *test.TestLogType // (optional) DirectoryPath *string // (optional) FileNamePrefix *string // (optional) FetchMetaData *bool // (optional) Top *int // (optional) Header to pass the continuationToken ContinuationToken *string }
Arguments for the GetTestSubResultLogs function
type GetTestSubResultLogsResponseValue ¶
type GetTestSubResultLogsResponseValue struct { Value []test.TestLog // The continuation token to be used to get the next page of results. ContinuationToken string }
Return type for the GetTestSubResultLogs function
type QueryResultTrendForBuildArgs ¶
type QueryResultTrendForBuildArgs struct { // (required) Filter *test.TestResultTrendFilter // (required) Project ID or project name Project *string }
Arguments for the QueryResultTrendForBuild function
type QueryResultTrendForReleaseArgs ¶
type QueryResultTrendForReleaseArgs struct { // (required) Filter *test.TestResultTrendFilter // (required) Project ID or project name Project *string }
Arguments for the QueryResultTrendForRelease function
type QueryTestHistoryArgs ¶
type QueryTestHistoryArgs struct { // (required) TestHistoryQuery to get history Filter *test.TestHistoryQuery // (required) Project ID or project name Project *string }
Arguments for the QueryTestHistory function
type QueryTestMethodLinkedWorkItemsArgs ¶
type QueryTestMethodLinkedWorkItemsArgs struct { // (required) Project ID or project name Project *string // (required) TestName *string }
Arguments for the QueryTestMethodLinkedWorkItems function
type QueryTestResultHistoryArgs ¶
type QueryTestResultHistoryArgs struct { // (required) Filter *test.ResultsFilter // (required) Project ID or project name Project *string }
Arguments for the QueryTestResultHistory function
type QueryTestResultWorkItemsArgs ¶
type QueryTestResultWorkItemsArgs struct { // (required) Project ID or project name Project *string // (required) WorkItemCategory *string // (optional) AutomatedTestName *string // (optional) TestCaseId *int // (optional) MaxCompleteDate *azuredevops.Time // (optional) Days *int // (optional) WorkItemCount *int }
Arguments for the QueryTestResultWorkItems function
type QueryTestResultsReportForBuildArgs ¶
type QueryTestResultsReportForBuildArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (optional) PublishContext *string // (optional) IncludeFailureDetails *bool // (optional) BuildToCompare *test.BuildReference }
Arguments for the QueryTestResultsReportForBuild function
type QueryTestResultsReportForReleaseArgs ¶
type QueryTestResultsReportForReleaseArgs struct { // (required) Project ID or project name Project *string // (required) ReleaseId *int // (required) ReleaseEnvId *int // (optional) PublishContext *string // (optional) IncludeFailureDetails *bool // (optional) ReleaseToCompare *test.ReleaseReference }
Arguments for the QueryTestResultsReportForRelease function
type QueryTestResultsSummaryForReleasesArgs ¶
type QueryTestResultsSummaryForReleasesArgs struct { // (required) Releases *[]test.ReleaseReference // (required) Project ID or project name Project *string }
Arguments for the QueryTestResultsSummaryForReleases function
type QueryTestRunsArgs ¶
type QueryTestRunsArgs struct { // (required) Project ID or project name Project *string // (required) Minimum Last Modified Date of run to be queried (Mandatory). MinLastUpdatedDate *azuredevops.Time // (required) Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days). MaxLastUpdatedDate *azuredevops.Time // (optional) Current state of the Runs to be queried. State *test.TestRunState // (optional) Plan Ids of the Runs to be queried, comma separated list of valid ids. PlanIds *[]int // (optional) Automation type of the Runs to be queried. IsAutomated *bool // (optional) PublishContext of the Runs to be queried. PublishContext *test.TestRunPublishContext // (optional) Build Ids of the Runs to be queried, comma separated list of valid ids. BuildIds *[]int // (optional) Build Definition Ids of the Runs to be queried, comma separated list of valid ids. BuildDefIds *[]int // (optional) Source Branch name of the Runs to be queried. BranchName *string // (optional) Release Ids of the Runs to be queried, comma separated list of valid ids. ReleaseIds *[]int // (optional) Release Definition Ids of the Runs to be queried, comma separated list of valid ids. ReleaseDefIds *[]int // (optional) Release Environment Ids of the Runs to be queried, comma separated list of valid ids. ReleaseEnvIds *[]int // (optional) Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids. ReleaseEnvDefIds *[]int // (optional) Run Title of the Runs to be queried. RunTitle *string // (optional) Number of runs to be queried. Limit is 100 Top *int // (optional) continuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user. ContinuationToken *string }
Arguments for the QueryTestRuns function
type QueryTestRunsResponseValue ¶
type QueryTestRunsResponseValue struct { Value []test.TestRun // The continuation token to be used to get the next page of results. ContinuationToken string }
Return type for the QueryTestRuns function
type QueryTestSummaryByRequirementArgs ¶
type QueryTestSummaryByRequirementArgs struct { // (required) ResultsContext *test.TestResultsContext // (required) Project ID or project name Project *string // (optional) WorkItemIds *[]int }
Arguments for the QueryTestSummaryByRequirement function
type TestLogStoreEndpointDetailsForBuildArgs ¶
type TestLogStoreEndpointDetailsForBuildArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (required) TestLogStoreOperationType *test.TestLogStoreOperationType }
Arguments for the TestLogStoreEndpointDetailsForBuild function
type TestLogStoreEndpointDetailsForResultArgs ¶
type TestLogStoreEndpointDetailsForResultArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) ResultId *int // (required) SubResultId *int // (required) FilePath *string // (required) Type *test.TestLogType }
Arguments for the TestLogStoreEndpointDetailsForResult function
type TestLogStoreEndpointDetailsForRunArgs ¶
type TestLogStoreEndpointDetailsForRunArgs struct { // (required) Project ID or project name Project *string // (required) RunId *int // (required) TestLogStoreOperationType *test.TestLogStoreOperationType // (optional) FilePath *string // (optional) Type *test.TestLogType }
Arguments for the TestLogStoreEndpointDetailsForRun function
type UpdateCodeCoverageSummaryArgs ¶
type UpdateCodeCoverageSummaryArgs struct { // (required) Project ID or project name Project *string // (required) BuildId *int // (optional) CoverageData *test.CodeCoverageData }
Arguments for the UpdateCodeCoverageSummary function
type UpdatePipelinesTestSettingsArgs ¶
type UpdatePipelinesTestSettingsArgs struct { // (required) TestResultsUpdateSettings *test.TestResultsUpdateSettings // (required) Project ID or project name Project *string }
Arguments for the UpdatePipelinesTestSettings function
type UpdateTestResultsArgs ¶
type UpdateTestResultsArgs struct { // (required) Results *[]test.TestCaseResult // (required) Project ID or project name Project *string // (required) RunId *int }
Arguments for the UpdateTestResults function
type UpdateTestRunArgs ¶
type UpdateTestRunArgs struct { // (required) RunUpdateModel *test.RunUpdateModel // (required) Project ID or project name Project *string // (required) RunId *int }
Arguments for the UpdateTestRun function