Download the archive “PSUnit-master.zip” from GitHub to a local directory.
Unzip the archive “PSUnit-master.zip”, so that the directory “PSUnit-master” is created.
Copy the directory “PSUnit-master” to the installation directory. “PSUnit” is no module, so the installation directory can be placed at any location ( e.g. it may be “C:\Program Files\PSUnit” or in the PowerShell module directory ).
Copy files “PSUnit-master\BuildProcessTemplates\Microsoft.PowerShell_profile.ps1” and “PSUnit-master\BuildProcessTemplates\Microsoft.PowerShellISE_profile.ps1” to the directory “C:\Users\Administrator\Documents\windowspowershell”, or modify existing files in that directory.
Rename the installation directory “PSUnit-master” it to “PSUnit”.
As “PSUnit” is no module, you must now add the full installation path of the directory to your system path PATH ( by “Settings / Control Panel / System / Advanced System Settings / Environment Variables / System Variables 'Path'” ).
With the current version, the file “PSUnit.Exceptions.ps1” is missing. Please create a dummy file ( e.g. a file with a comment ”#” only ) in the installation directory.
Add to “Microsoft.PowerShellISE_profile.ps1” ( e.g. <user> = “Administrator” ):