[WiX-users] Testing C# Custom Actions

2015-05-28 Thread Griesshammer, Christoph (GE Healthcare)
I've looked high and low, and there's not much discussions about unit testing custom actions. Does anybody have a strategy for this? My initial thought was to refactor my code so that any Session references occur outside of the scope of what I'm testing, but that no longer works for some of

Re: [WiX-users] Testing C# Custom Actions

2015-05-28 Thread John Cooper
) [mailto:christoph.griessham...@ge.com] Sent: Thursday, May 28, 2015 4:06 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Testing C# Custom Actions The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. I've looked high and low

Re: [WiX-users] Testing C# Custom Actions

2015-05-28 Thread Phill Hogland
I agree with John's advice and this advice http://www.joyofsetup.com/2010/02/08/introducing-lux-declarative-unit-testing-for-custom-actions/ . I found it helpful to study the WixGamingExtension and other WixExtension implementations, when learning to create CAs using the pattern recommended