Showing results for Dave Wyatt - Scripting Blog [archived]

Dec 18, 2015
0
0

PowerTip: Contribute to the Pester Project

Doctor Scripto
Doctor Scripto

Summary: Learn how you can add to the Pester solution. How can I contribute to Pester? On the project’s GitHub site, submit bug reports or feature requests in the Issues log,            or submit your code via a Pull Request.

Windows PowerShellPowerTipguest blogger
Dec 18, 2015
0
0

More Pester Features and Resources

Doctor Scripto
Doctor Scripto

Summary: Dave Wyatt wraps up his week teaching us about Pester with information about more resources.    Note   This is a five-part series that includes the following posts: I hope that this series has convinced you that writing Pester tests for your code can be easy and valuable—even if I had to be fairly brie...

Windows PowerShellguest bloggerDave Wyatt
Dec 18, 2015
1
0

More Pester Feature and Resources

Doctor Scripto
Doctor Scripto

Summary: Dave Wyatt wraps up his week teaching us about Pester with information about more resources.   Note   This is a five-part series that includes the following posts: I hope that this series has convinced you that writing Pester tests for your code can be easy and valuable—even if I had to be fairly brief i...

Windows PowerShellguest bloggerDave Wyatt
Dec 17, 2015
0
0

PowerTip: Use Pester to Test Functions in Module

Doctor Scripto
Doctor Scripto

Summary: Use Pester to test new functions in your module. How can I unit test a non-exported function in my script module? Use the InModuleScope command to execute some or all of your Pester script within the scope of            the module you’re testing.

Windows PowerShellPowerTipguest blogger
Dec 17, 2015
0
0

Testing Script Modules with Pester

Doctor Scripto
Doctor Scripto

Summary: Dave Wyatt discusses using Pester for testing PowerShell modules.    Note   This is a five-part series that includes the following posts: Yesterday, we looked at how to use the Mock and Assert-MockCalled commands in Pester to unit test the logic in your PowerShell code without having any external dependencies. This can get a litt...

Windows PowerShellguest bloggerDave Wyatt