Is there a single testing platform for testing PowerShell using PowerShell scripts?

I am looking for a unit testing structure such as xUnit that allows me to test PowerShell functions using PowerShell scripts.

+16
unit-testing powershell
Jun 16 '09 at 23:34
source share
4 answers

I also found PSUnit on Codeplex. PSUnit PowerShell Unit Testing Framework

There are some interesting screenshots, and it is expected that the release is expected in August this year.

+3
Jul 29 '09 at 6:57
source share

Well, just for completeness: Actually PSUnit . It seems not very mature, although I see only two bursts of activity from the very beginning, as well as no documentation that could be spoken about.

But, as I learned from cuTest , unit testing is something that fits into a very small space (at least for C in this case), so having something that works may not take too much effort.

+7
Jun 17 '09 at 4:49
source share

While Lee Halls was not a la xUnit real-world map, Lee Holmes wrote an article about how unit test PowerShell uses PowerShell scripts .

+4
Jun 16 '09 at 23:44
source share

On the Pester project page:

Pester provides a framework for running unit tests to run and validate PowerShell commands from PowerShell.

+1
Jan 05 '17 at 16:46 on
source share



All Articles