Skip to main content
Version: v4

Set-TestInconclusive

SYNOPSIS​

Deprecated. Use Set-ItResult -Inconclusive instead

SYNTAX​

Set-TestInconclusive [[-Message] <String>] [<CommonParameters>]

DESCRIPTION​

Set-TestInconclusive was used inside an It block to mark the test as inconclusive. If you need this functionality please use the new Set-ItResult command.

EXAMPLES​

EXAMPLE 1​

Describe "Example" {

It "My test" {
Set-TestInconclusive -Message "we forced it to be inconclusive"
}

}

The test result.

Describing Example
[?] My test, is inconclusive because we forced it to be inconclusive 58ms

PARAMETERS​

-Message​

Value assigned to the Message parameter will be displayed in the the test result.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

NOTES​

EDIT THIS PAGE​

This page was auto-generated using Pester's comment based help. To edit the content of this page, change the corresponding help in the pester/Pester v4 repository. See our contribution guide for more information.