[wix-users] Unit tests for Managed Bootstrapper
osito at live.com
Thu Jan 19 08:56:24 PST 2017
For a previous client we wrote a BA test runner to simulate several scenarios and unit test all the event handlers.
Sent from my Windows 10 phone
From: Farrukh Waheed<mailto:farrukh1 at gmail.com>
Sent: Wednesday, January 18, 2017 11:16 PM
To: WiX Toolset Users Mailing List<mailto:wix-users at lists.wixtoolset.org>
Subject: [wix-users] Unit tests for Managed Bootstrapper
I'm writing Unit Tests for our managed bootstrapper and covered only 22% of
the code, i.e. the public methods used to read
BootstrapperApplicationData.xml and some utility methods.
But there is functionality which needs a running process of Bootstrapper,
especially the Engine and related Event Handlers. In addition, the Burn
variables which would be available when it is running.
How to deal with this situation in unit testing? Do I have to launch the
process (myBootstrapper.exe) to achieve this?
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users