In This Episode
Tonight on the PowerScripting Podcast, we talk to Scott Muc about Pester
Alan Renouf will be presenting at the Norcal PowerShell user group on 4/1
Guest – Scott Muc
Pester on Github: https://github.com/pester/Pester#pester
[22:49:25] <mwrock> I did one and it was hard
<Jaykul> ## When will it get a psd1?
<stevenmurawski> ##Why is unit testing important for scripts?
<stevenmurawski> ##What benefits do we get from writing tests?
<stevenmurawski> ##How does TDD play into the equation? Is that feasible with scripts?
<adamdriscoll2> ##I’m curious diffs between pester and psate. I integrated both in PoshTools and see a lot of similarities.
<organicit> ## are there any youtube video tutorials for Pester
<Jaykul> 200MB free, and you can get more by, uhhhh … sharing on facebook http://news.cnet.com/8301-1023_3-57528605-93/netzero-subscribers-can-share-free-data-with-facebook-friends
<Jaykul> FYI: I am *not* endorsing NetZero. You should also try http://www.freedompop.com/
<Jaykul> Hey halr9000: /topic #PowerScriptingPodcast http://vaughnlive.tv/embed/video/jonwalz
* halr9000 changes topic to: http://vaughnlive.tv/embed/video/jonwalz
<Jaykul> Dave_Wyatt: https://github.com/jaykul/PSAINT 😉
<stevenmurawski> Another good resource is Working Effectively With Legacy Code by Michael Feathers. Good discussion of where to create seams for testing. http://www.amazon.com/Working-Effectively-Legacy-Michael-Feathers/dp/0131177052/ref=sr_1_1?s=books&ie=UTF8&qid=1394764302&sr=1-1&keywords=working+with+legacy+code
<stevenmurawski> Example of a resource https://github.com/PowerShellOrg/DSC/blob/master/Resources/StackExchangeResources/DSCResources/StackExchange_Pagefile/StackExchange_Pagefile.psm1
<stevenmurawski> Example of tests for a resource https://github.com/PowerShellOrg/DSC/blob/master/Resources/StackExchangeResources/DSCResources/StackExchange_Pagefile/StackExchange_Pagefile.Tests.ps1
<JonWalz> did you see this? https://github.com/PowerShellOrg/ebooks/tree/master/DSC
The Question –
Hero – Gandalf