InstallScript Unit Testing

I have several functions in my InstallScript that are good candidates for unit tests. My project is the InstallScript MSI project . I found an article on how unit test User actions with custom ICEs, but the code I want to use unit test is not in the user action, it is in the user interface sequence.

Is there a unit test way for this type of InstallScript code?

+3
source share
1 answer

I would suggest the SprintfMsiLog()InstallScript function . It will write to the MSI log file, and so you can eliminate what happens as if it were a standard MSI action.

I hope I understand what you mean by "unit test".

0
source

Source: https://habr.com/ru/post/1709875/


All Articles