chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.61k stars 249 forks source link

(#956) Add initial set of Pester tests #957

Closed corbob closed 1 year ago

corbob commented 1 year ago

Description Of Changes

Add some initial Pester tests.

Motivation and Context

There is some very basic tests of chocolateyguicli that we do as part of manual testing before a release. This puts those into Pester tests so we don't have to manually do them.

Testing

On a system with Chocolatey GUI installed:

  1. Run: Install-Module Pester -MinimumVersion 5.3.1 -SkipPublisherCheck -Force -Scope CurrentUser
  2. From the Tests directory run Invoke-Pester
  3. Confirmed all tests returned successfully.

Change Types Made

Related Issue

Fixes #956

Change Checklist

gep13 commented 1 year ago

@corbob tried to take this for a spin, but was met with the following:

image

Any ideas?

gep13 commented 1 year ago

Much better! Thank you!

image

gep13 commented 1 year ago

@corbob thank you for getting these Pester tests added!