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

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -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

Owners

Copyright

(c) 2018 Simon Elms. All rights reserved.

Package Details

Author(s)

  • Simon Elms

Tags

Pester Test Testing Assert Assertion

Functions

Assert-ExceptionThrown

Dependencies

FileList

Version History

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