[wix-users] Managed bootstrapper testability

Lucian Tirca lucian.tirca at highstage.dk
Thu Jul 30 08:09:34 PDT 2015


hello guys ! 

 

I've been wrapping my head around this for a long time now, and it seems I
need some professional help. 

 

I am creating a managed bootstrapper application for my installation
process, and I need to somehow mock out the engine. It seems like it's all
sealed or non-public . 

 

How does one go around this issue? I need to produce some testable code, so
I can test that the WPF interface and the ViewModels are displaying and
receiving the right input. 

 

I have tried using the BootstrapperApplicationFactory and passing a
FakeEngine : IBootstrapperEngine implementation to it in the Create()
method, but it does not work. 

 

Should I develop the UI independently from the managed BA? Is there some
other way around this ?

 

Best wishes, 

Lucian



More information about the wix-users mailing list