[wix-devs] Running WiX Tests

Sean Hall r.sean.hall at gmail.com
Fri Jun 4 11:33:05 PDT 2021


Theoretically you should be able to open src\burn.sln in Visual Studio and
use it's test runner to run the tests in the debugger.

The assertions are likely the same that were fixed in
https://github.com/wixtoolset/wix4/commit/1446d4e582465af5c09db3fba16afc59529a3863
.

I highly recommend developing in v4 first, where we are much more likely to
help you. That's also where there is test coverage. Once you get it working
in v4 it shouldn't be hard to port back to v3 if all of your changes are in
Burn.

On Fri, Jun 4, 2021 at 1:10 PM Edwin Castro <egcastr at gmail.com> wrote:

> Unfortunately, WiX 4.0 is not at a level of maturity that allows me to
> convince management to move to it.
>
> Any advice on how to debug BurnUnitTest.dll?
>
> I'm seeing a Debug Assert Message dialog that says
>
> Assertion failed in C:\dev\wix\src\libs\dutil\strutil.cpp, 367
> Abort=Debug, Retry=Skip, Ignore=Skip all
>
> Clicking Abort doesn't bring up a debugger so I figure I must be missing
> something obvious.
>
> --
> Edwin G. Castro
>
>
> On Thu, Jun 3, 2021 at 4:01 PM Sean Hall via wix-devs <
> wix-devs at lists.wixtoolset.org> wrote:
>
>> Yes. 99% of the tests in v3 are from the time where the real repo was in
>> Microsoft and the changes had to be manually ported to the public repo. No
>> one ever spent the time to verify or fix the tests in the public repo.
>>
>> All of the tests in v4 are passing (or marked skipped if they're known to
>> be failing). You probably want to develop in v4 first at this point.
>>
>> On Thu, Jun 3, 2021 at 5:41 PM Edwin Castro via wix-devs <
>> wix-devs at lists.wixtoolset.org> wrote:
>>
>> > I'm working on a clone of the wix3 repo and I have successfully built
>> the
>> > wix3112rtm tag. When I try to run the tests using test\test.bat I get a
>> lot
>> > of errors! Is that expected?
>> >
>> > --
>> > Edwin G. Castro
>> > ____________________________________________________________________
>> > WiX Toolset Developer Mailing List provided by FireGiant
>> > http://www.firegiant.com/
>> >
>> ____________________________________________________________________
>> WiX Toolset Developer Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>



More information about the wix-devs mailing list