AssertExceptionThrown

1.0.0

A PowerShell module that can be used in Pester tests to assert that a function throws a specific exception.

Minimum PowerShell version

4.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AssertExceptionThrown

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Simon Elms

Copyright

(c) 2018 Simon Elms. All rights reserved.

Owners

Tags

Pester Test Testing Assert Assertion

Functions

Assert-ExceptionThrown

Dependencies

Version History

Version Downloads Last updated
1.0.0 (current version) 90 6/15/2019