chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.26k stars 900 forks source link

(#2712) Normalize ExitCode pester test on Support Branch #3372

Closed corbob closed 9 months ago

corbob commented 9 months ago

Description Of Changes

Normalize the exit code checking of the Pester tests. Add proper Chocolatey License check where needed.

Motivation and Context

This normalizes the exit code checking of the pester tests so that if they don't return as expected we have the output of the command. Also to bring some of the install/upgrade tests in line with the develop branch.

Testing

Ran through Test Kitchen in Team City (see link to gep13 in Slack)

Operating Systems Testing

Windows Server 2016/2019

Change Types Made

Change Checklist

Related Issue

gep13 commented 9 months ago

@corbob thanks for getting these updated! Will definitely help going forward to know what went on with the execution of the commands.