Loading Events

« All Events

  • This event has passed.

How to Use Pester to Test Your PowerShell Code

April 19, 2017 @ 1:00 pm - 2:30 pm

SMMUG in Bangor ME
PowerShell is a wonderful and easy to learn development framework for technical professionals.  And now that it has been ported across Windows, Linux, and MacOS platforms, the sky’s the limit! But, like with any other programming language, there’s always going to be bugs, errors, and broken dependencies introduced into your scripts, functions, and modules as new code is written. Fortunately, PowerShell has an snazzy module named Pester that can be harnessed for testing and mocking your code!

In this session, join Chris Wahl as he covers an introduction to unit testing, the Pester module, and live code samples using an open source project named Vester. You’ll learn about building test blocks, how to mock specific cmdlets and functions, and some common practices for healthy code coverage.

Presenter: Chris Wahl, author of the award winning Wahl Network blog and host of the Datanauts Podcast, focuses on creating content that
revolves around virtualization, automation, infrastructure, and evangelizing products and services that benefit the technology community. In addition to co-authoring “
Networking for VMware Administrators” for VMware Press, he has published hundreds of articles and was voted the “Favorite Independent Blogger” by vSphere-Land three years in a row (2013 – 2015). Chris also travels globally to speak at industry events, provide subject matter expertise, and offer perspectives to startups and investors as a technical adviser.

Join us!  Doors open at 4:30pm.   Presentation/Discussion starts at 5pm
FMI or to register: [email protected]

Details

Date:
April 19, 2017
Time:
1:00 pm - 2:30 pm
Event Category:
Event Tags:
, , , , ,

Venue

Seasons Sports Bar
427 Main Street
Bangor, ME 04401 United States
+ Google Map

Organizer

Tricia Richardson
Email
Tricia@smmug.info
View Organizer Website

Leave a Reply