Skip to content
Jon Wagner edited this page Mar 3, 2014 · 4 revisions

PSMock (pronounced "smock" or "puh-smock") is a mocking module for PowerShell.

PSMock can mock functions and commands, filter mocks, track calls, and manage multiple contexts from whatever program you are running. Works with dot-sourced code, scripts, and call blocks.

PSMock is part of the PSST PowerShell Suite for Testing:

Getting Started

More Fun with Mocks

Other Notes

Clone this wiki locally