I know I'm late to the party here, but can anyone tell me why, in DUnit, they changed the XML output format in XMLTestRunner.pas?
I know I'm late to the party here, but can anyone tell me why, in DUnit, they changed the XML output format in XMLTestRunner.pas?
I discovered this change as part of the move from XE to DX Seattle.
I discovered this change as part of the move from XE to DX Seattle.
Because it is DUnitX instead of DUnit since XE8?
ReplyDeletehttp://docwiki.embarcadero.com/RADStudio/XE8/en/What's_New_in_Delphi_and_C%2B%2BBuilder_XE8#Testing_Framework_Changes_for_XE8
Uwe Schuster That just says DunitX is supported, not that they switched to it. Poor wording?
ReplyDeleteUwe Schuster Nope, DUnitX is just additional. DUnit still is shipped.
ReplyDeleteThey didn't change anything. You probably used the modified XMLTestRunner unit by VSoft that is Continua/NUnit compatible in one of these two Delphi versions. Delphi ships with the stoneage version of that file ($BDS)\source\DUnit\Contrib\XMLReporting
The old DUnit XMLTestRunner concatenates XML using strings. The VSoft one using XmlDocument but doesn't support everything DUnit does. The FinalBuilder one also uses strings, but produces more NUnit compatible XML. So take your pick (:
ReplyDeleteWell, I'm an idiot once again. Turns out that DUnit hasn't changed, we did. We put this in place:
ReplyDeletehttp://cc.embarcadero.com/Item/28239
But didn't change the file name. No wonder I thought it had changed.
Nick Hodges Assumptions strike again ;)
ReplyDeleteNick Hodges oh gosh, yet another test runner.
ReplyDelete