Indented.StubCommand
1.4.0
A stub command or module is intended for use with tools like Pester.
A stub command is roughly similar to a mock, with the exclusion of the ability to fill the command body. It is designed to feed mock creation.
When Pester to creates a mock the original command must be available. If a command or module is not available a function might be written to resemble the or
A stub command is roughly similar to a mock, with the exclusion of the ability to fill the command body. It is designed to feed mock creation.
When Pester to creates a mock the original command must be available. If a command or module is not available a function might be written to resemble the or
A stub command or module is intended for use with tools like Pester.
A stub command is roughly similar to a mock, with the exclusion of the ability to fill the command body. It is designed to feed mock creation.
When Pester to creates a mock the original command must be available. If a command or module is not available a function might be written to resemble the original command.
This module is used to decrease the work required to define a fabricated function by creating a stub from the original.
Stubs can be created for modules such as ServerManager so they appear to execute correctly from development clients. It allows modules like ActiveDirectory, Exchange, and WebAdministration to run from a build server without expicit module deployment or session imports.
Show more
A stub command is roughly similar to a mock, with the exclusion of the ability to fill the command body. It is designed to feed mock creation.
When Pester to creates a mock the original command must be available. If a command or module is not available a function might be written to resemble the original command.
This module is used to decrease the work required to define a fabricated function by creating a stub from the original.
Stubs can be created for modules such as ServerManager so they appear to execute correctly from development clients. It allows modules like ActiveDirectory, Exchange, and WebAdministration to run from a build server without expicit module deployment or session imports.
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
(c) 2017 Chris Dent. All rights reserved.
Package Details
Author(s)
- Chris Dent
Tags
Functions
Get-StubRequiredType New-StubCommand New-StubDynamicParam New-StubModule New-StubType
Dependencies
This module has no dependencies.
FileList
- Indented.StubCommand.nuspec
- Indented.StubCommand.psd1
- Indented.StubCommand.psm1
- var\assemblyList.txt