-
-
Notifications
You must be signed in to change notification settings - Fork 5
Get FSCPSADOTestSuitesByTestPlan
Retrieves test suites from an Azure DevOps test plan.
Get-FSCPSADOTestSuitesByTestPlan [[-Organization] <String>] [[-Project] <String>] [[-TestPlanId] <Int32>]
[[-Token] <String>] [[-apiVersion] <String>]
The `Get-FSCPSADOTestSuitesByTestPlan` function retrieves test suites from a specified Azure DevOps test plan. It requires the organization, project, test plan ID, and a valid authentication token. The function handles pagination through the use of a continuation token and returns the test suites.
Get-FSCPSADOTestSuitesByTestPlan -Organization "my-org" -Project "my-project" -TestPlanId 123 -Token "Bearer my-token"
This example retrieves test suites from the test plan with ID 123 in the specified organization and project.
The name of the Azure DevOps organization.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the Azure DevOps project.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe ID of the test plan from which to retrieve test suites.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseThe authentication token for accessing Azure DevOps.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe version of the Azure DevOps REST API to use. Default is "7.1".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: 7.1
Accept pipeline input: False
Accept wildcard characters: False- The function uses the Azure DevOps REST API to retrieve test suites.
- An authentication token is required.
- Handles pagination through continuation tokens.
Author: Oleksandr Nikolaiev (@onikolaiev)