Error message is duplicated in TestInsight.DUnitX

Issue #48 resolved
Lübbe Onken created an issue

In PostTestResult after the line

if test.QueryInterface(ITestError, error) = 0 then

error.ExceptionMessage contains the error message twice, like:

'Expected 18 but got 30 Expected 18 but got 30 '

Since it is already there, it might be aproblem in DUnitX, but there is no duplicate in the DUnitX command line window.

Comments (7)

  1. Stefan Glienke repo owner

    Please provide enough information and make sure this is a TestInsight and not a DUnitX issue.

  2. Lübbe Onken reporter

    I dug into it a little bit and found out that there are two messages available:

    • error.ExceptionMessage
    • test.Message

    error.ExceptionMessage is the one that you are using in TestInsight.DUnitX. It contains the duplicate text, which is why I created Issue https://github.com/VSoftTechnologies/DUnitX/issues/110

    test.Message only contains the message.

    Let's wait for their reply.

  3. Log in to comment