On Win8 with .NET 4.5 framework, the DLL “nunit.framework.dll” is still blocked ( “Properties - “This file came from another computer and might be blocked to help protect this computer” ). Unblock the DLL file ( “Properties / Unblock” )! Unblocking can't be undone?!

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.

Create batch files to execute the test runner “PSUnit.Run.ps1” ( which is by installation in your system path PATH ), e.g. batch file “run_darth.bat” with the script instructions

“powershell PSUnit.Run.ps1 .\Darth-Enumerator.Test.ps1”.

Logging:

Logging files ( e.g. “PSUnitTestReport_Darth-Enumerator.Test.ps1_2015-06-03-19-45-03_T43P37F6S0.html” ) are created by default in the installation directory , i.e. not in the user directory ( e.g. “C:\users\<username>\PSUnitTest” ).

Error message “Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=“Deny”), or set explicitly by a location tag with overrideMode='Deny' or the legacy allowOverride='false'”.