Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 935 Bytes

Readme.md

File metadata and controls

25 lines (17 loc) · 935 Bytes

pester

Pester, for running automated PowerShell tests

pester

The following PowerShell modules are installed:

Usage

This Docker image supports execution of Pester tests. A directory containing PowerShell scripts and their accompanying tests should be mounted in the working directory of the Docker container. The container executes the Invoke-Pester cmdlet and passes all command-line arguments to it. For the value of the -Configuration argument a JSON formatted string can be used.

docker run --rm -it -v $PWD:/root/work pester -Output Detailed
docker run --rm -it -v $PWD:/root/work pester -Configuration "{ \"Output\": { \"Verbosity\": \"Detailed\" } }"