Skip to main content
Version: v4

Set-TestInconclusive

This page was generated

Contributions are welcome in Pester v4-repo.

SYNOPSIS

Deprecated. Use Set-ItResult -Inconclusive instead

SYNTAX

Set-TestInconclusive [[-Message] <string>]

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: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

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

INPUTS

OUTPUTS

NOTES

VERSION

This page was generated using comment-based help in Pester 4.10.1.