PowerShell 7 Tutorials for Intermediates #5 : Pester (Testing)

preview_player
Показать описание
In this video I will go over how to use pester for unit testing in PowerShell 7, how to write a pester test and how to execute a test, even make it that the test can be reusable with parameters.

Tags:
PowerShell, jackedprogrammer, powershell 7, how to install powershell 7, powershell 7 on vs code, visual studio code
Рекомендации по теме
Комментарии
Автор

whether invoke-pester cmdlet does accepct custom parameters which runs from the script, which are dynamic at each run, how we can achieve this, please share your views on this, thx

itsmeleobonjour
Автор

Hi, i am new in automation testing . And i have to work with pester . My scenario in which i have one CSV file . And i have 4 usecase to test . For first usecase i took first row of data from CSV file in one context section . For another usecase, now i need to pick second row of data from CSV file and i want to write in another new context block . Is this possible ? How can I do this if possible? Plz help .

nitaprasad