-
-
Notifications
You must be signed in to change notification settings - Fork 5
Get FSCPSADOTestSuiteByTestCase
Retrieves the test suite associated with a specific test case from Azure DevOps.
Get-FSCPSADOTestSuiteByTestCase [[-TestCaseId] <Int32>] [[-Project] <String>] [[-Organization] <String>]
[[-apiVersion] <String>] [[-Token] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
The `Get-FSCPSADOTestSuiteByTestCase` function retrieves the test suite associated with a specified test case ID from Azure DevOps. It requires the organization, project, test case ID, and a valid authentication token. The function returns the test suite information and handles any errors that may occur during the request.
Get-FSCPSADOTestSuiteByTestCase -TestCaseId 1460 -Project "my-project" -Organization "my-org" -Token "Bearer my-token"
This example retrieves the test suite associated with the test case ID 1460 in the specified organization and project.
The ID of the test case for which to retrieve the associated test suite.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: 0
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 name of the Azure DevOps organization.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe version of the Azure DevOps REST API to use. Default is "5.0".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 5.0
Accept pipeline input: False
Accept wildcard characters: FalseThe authentication token for accessing Azure DevOps.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- The function uses the Azure DevOps REST API to retrieve the test suite.
- An authentication token is required.
- Handles errors and interruptions gracefully. Author: Oleksandr Nikolaiev (@onikolaiev)
- Install as a non-Administrator
- Install as a Administrator
- Import fscps.tools module
- List available commands from fscps.tools module
- Get help content for a command
- Get D365FSC versions data
- Compile ISV model
- Invoke Choco
- Download FSC NuGets
- Download System Update Package
- Sign Files (DigiCert / Azure KeyVault)
- Work with Model Versions
- Work with ADO Test Cases