Pester TestDrive for software installation

This topic contains 3 replies, has 3 voices, and was last updated by  Emil Tanev 3 months, 3 weeks ago.

  • Author
  • #89908

    Emil Tanev

    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.

  • #90050


    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.

  • #90109

    Adam Bertram

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

  • #90607

    Emil Tanev

    Thanks, I'll stick to the VM.

You must be logged in to reply to this topic.