views:

420

answers:

3

I am lookin for a unit testing framework of type xUnit that lets me test PowerShell functions with PowerShell scripts.

+3  A: 

While not an actual framework a la xUnit, Lee Holmes did write an article about how to unit test PowerShell using PowerShell scripts.

Lee
+2  A: 

Well, just for completeness: There is actually PSUnit. Doesn't seem to be very mature, though as I see only two spikes of activity since its beginning as well as no documentation to speak of.

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

Joey
It seems PsUnit started moving http://www.codeplex.com/PSUnit
stej
+1  A: 

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

There are some cool screen shots and a release is expected in August this year.

tellingmachine