Test case order

Set-TestCaseOrder

Synopsis

Reorder test cases in a test suite.

Syntax

Set-TestCaseOrder [-TestSuiteID] <Int32> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Reorders functional test cases in a test suite. The order of test cases applies when running a test for stateful test suites. You need to provide the target order for all test cases included in a test suite. To check the current order of test cases, run the Get-TestSuite operation.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑Body
Required

A request body, either as a PSCustomObject or string. This parameter supports pipelining.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑TestSuiteID
Required

Your test suite's ID.

Related Links