Author Posts

December 22, 2017 at 10:22 am

I am using Pester to test the installation of a product through an msi – verification of file versions, etc. Would using TestDrive: help keep my local machine clean since there may be quite a few install/uninstalls until I figure out the tests? Or is my best bet using a Virtual machine in this scenario? Should I expect the product to not exist after the tests?
Applogies for the basic question.

December 26, 2017 at 10:26 pm

TestDrive notwithstanding —

Product installs, regardless of vendor, will always leave stuff behind. Uninstalls are never really comply clean / complete.

As a tester of many product,s one should always have a pristine baseline to start with / roll back to, ensuring that no previous installed thing is / has / will interfere with the results of another product.

Unless of course you are expecting X product to be on a host when Y or Z is to be installed and used for every day stuff.

December 27, 2017 at 4:18 pm

I'd probably use a VM for that and take a snapshot before you run the installer.

January 2, 2018 at 12:33 pm

Thanks, I'll stick to the VM.