PowerShell unit testing

I decided to cover all the hooks I wrote with unit tests.
For that I tried to find a good testing framework for PowerShell.

So far, the only one I liked was Pester – it looks nice BDD framework.
It has some limitations and I will probably later fork the project to overcome them

I also tried PsUnit – was not developed for an year
and PsTest – did not like its output.


About mnaoumov

Senior .NET Developer in Readify
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

2 Responses to PowerShell unit testing

  1. rlabarca says:

    PSate (pronounced “sate” or “puh-sate”), meaning “to satisfy”, is a test runner module for PowerShell.

    PSate is part of the PSST PowerShell Suite for Testing:

    PSMock – mocking for PowerShell
    PShould – fluent assertions for PowerShell
    PSate – test runner for PowerShell

    url: https://github.com/jonwagner/PSate.

  2. mnaoumov says:

    Thanks! It looks very promising. I will take a look

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s