Hi everyone,
We are using DUnit for our unit tests together with the FinalBuilder.XmlTestrunner.pas included with FinalBuilder. As part of our test stage in Continua we import the generated XML file as an NUnit file. This means that the number of successful and failed unit tests shows up in the build overview but we cannot view the actual test results directly from there.
The xml file is also registered as an artifact and when viewed as NUnit via the Artifacts tab everything seems to show correctly.
Is importing the DUnit output as NUnit viable or do we have to use the DUnitX action (and is that one compatible with plain DUnit) to run our tests?
The DUnitX action will work with DUnit console applications, provided they take a single parameter that specifies where the xml report file should be placed. The XML file needs to be NUnit compatible XML.
The FinalBuilder.XmlTestRunner hasn’t been updated in a while, so my guess is it is not producing compliant enough xml. I don’t have any plans to update it as my efforts are focused on DUnitX these days. The unit is on github if you want to contribute any changes - https://github.com/VSoftTechnologies/DUnit-XML