I am new to DUnitX and I am trying to get stacktraces working, so that when a test case fails, I can see the source code line containing the Assertion that failed. I have done the following:
Added DUnitX.StackTrace.Jcl, to the project uses clause.
Edited C:\Program Files (x86)\Embarcadero\Studio\20.0\source\DunitX\DUnitX.Stacktrace.inc to enable the JCL define
Compiled generating a full MAP file which was converted to jdbg and inserted into the executable. The MAP file is also present.
I still do not get stack traces for failures. What am I missing?
Another small issue is the XML report shows
asserts="0"
despite the fact that there are many Assert.IsTrue in the Test cases. Is this feature not working?