Table of Contents

[hemmerling] Scripting Languages for Windows 3/3 - Testing with Windows PowerShell

Related page:

Windows Powershell - Script Testing

Static Testing

"ScriptCop" - Coding Rules Checker

The Tool
Resources

Dynamic Testing

Jester by Misha Bergal

Set-ExecutionPolicy Unrestricted
Set-ExecutionPolicy Bypass
Unblock-File C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Jester\*.ps1
Import-Module Jester

Using NUnit for PowerShell Script Testing

PSTest by Knut Kristian Johansen
Some other NUnit based Tools

Pester - BDD Framework for Windows PowerShell

Tools
Tips & Tricks
Set-ExecutionPolicy Unrestricted
Set-ExecutionPolicy Bypass
Unblock-File C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Pester\Functions\*.ps1
Unblock-File C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Pester\Functions\Assertions\*.ps1 
Import-Module Pester

PSUnit by Klaus Graefensteiner

Set-ExecutionPolicy Unrestricted
Set-ExecutionPolicy Bypass
.  C:\Users\Administrator\Documents\windowspowershell\profile.ps1
. PSUnit.ISE.ps1

PSUnit by lidingshan

PSUnitTesting by Leonard Erwine

Test Run by James McCaffrey

Code & Tutorial
Resources

Whatif

Windows Powershell based Testing of Software and Hardware


When this document changes ! Site Navigation ( My Business ! My Topics ! Imprint / Contact ! Privacy Policy ! Keyword Index ! ! Google+ Publisher "hemmerling" )