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.
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.