< Back

New-PesterOption

Wed Jan 30, 2019 5:56 pm

NAME New-PesterOption



SYNOPSIS

Creates an object that contains advanced options for Invoke-Pester





SYNTAX

New-PesterOption [-IncludeVSCodeMarker] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-IncludeVSCodeMarker [<SwitchParameter>]

When this switch is set, an extra line of output will be written to the console for test failures, making it easier

for VSCode's parser to provide highlighting / tooltips on the line where the error occurred.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

You cannot pipe input to this command.





OUTPUTS

System.Management.Automation.PSObject







RELATED LINKS

Invoke-Pester