PSUnit

A lightweight Unit Testing framework
Download

PSUnit Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Klaus Graefensteiner
  • Operating Systems:
  • Windows 2K / XP / Vista
  • File Size:
  • 64 KB

PSUnit Tags


PSUnit Description

PSUnit was developed to be a lightweight Unit Testing framework for PowerShell script developers. It is completely written in PowerShell. Main features: PSUnit is convention based unit testing. It is taking advantage of the flexibility of PowerShell and the ideas behind unit testing frameworks like NUnit. A NUnit test class maps to a test script in PowerShell. A NUnit test method maps to a test function in PowerShell. Test function implementations typically follow the Arrange, Act, Assert sequence. There are two ways to organize and execute tests in PSUnit: Discovery of named test functions and generating PSUnit functions based on function declarations and attributes of advanced PowerShell functions. List of script block declarations. An asserts can be any script block that returns true or false. A test function can be parametrized. Parameter sets are organized in specification files.


PSUnit Related Software