dsccommunity / ExchangeDsc

This module contains DSC resources for deployment and configuration of Microsoft Exchange Server.
MIT License
80 stars 49 forks source link

Question - How use Pester with Exchange Server related scripts ? #49

Closed it-praktyk closed 8 years ago

it-praktyk commented 8 years ago

Hi!

Thank you for great presentation on the last PowerShell Summit Europe !

After applause under the slide"Moving Forward" and describing Pester tests in xExchange as the one of next goals for xExchange I started thinking how/if I can improve my Exchange scripts using Pester.

Do you know any resources when I can start looking for this?

Thank you in advance.

Wojciech

mhendric commented 8 years ago

Below are three great blogs on how to get started using Pester. Also you should check out the tests underneath the Test folder in the xExchange module, as there are now close to 30 different test files all utilizing Pester.

http://www.powershellmagazine.com/2014/03/12/get-started-with-pester-powershell-unit-testing-framework/ http://www.powershellmagazine.com/2014/09/30/pester-mock-and-testdrive/ http://www.powershellmagazine.com/2014/03/27/testing-your-powershell-scripts-with-pester-assertions-and-more/

it-praktyk commented 8 years ago

Thank you Mike for your answer. Of course I know the articles mentioned by you. I'll follow xExchange - I'm very interesting in use DSC in production with Exchange.