Command
Assert-BenchmarkValue
Asserts a benchmark value condition.
Syntax
Examples
Example 1
Assert-BenchmarkValue -Actual 'Value'Example 2
Assert-BenchmarkValue -NotNullParameters
- -Actual Object
- Actual value.
- -Expected Object
- Expected value.
- -Message String
- Optional assertion message.
- -PassThru SwitchParameter
- Emit the actual value when the assertion passes.
- -NotNull SwitchParameter
- Assert that the value is not null.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.