How can I use profiler tag inside ablunit tag of ANT Script.
<Profiler enabled="true" outputDir="profiler" coverage="true" listings="profiler" />
I want to do Unit test with profiler
I have found a solution with PCTRunBut i need to use it with ablunit as it is possible...
You're probably using the ABLUnit task from Progress Developer Studio, not the one from PCT. Profiler is only supported under PCT.
ABLUnit inherits from PCTRun, as stated on the wiki page github.com/.../ABLUnit since 2 minutes :-)
You can directly include the <Profiler> option in your <ABLUnit> target
I have used <profiler> option directly but still i am getting error: "ablunit doesn't support the nested "Profiler" element."
<ablunit dlc="${DLC_HOME}" environment="gui" printsummary="true" haltonerror="yes " haltonfailure="yes" tempdir="${basedir}">
<batchtest todir="results">
<fileset dir="tests" includes="*.p" >
</fileset>
</batchtest>
<propath>
<pathelement path="${basedir}" />
<pathelement location="${DLC_HOME}\gui\ablunit.pl" />
<pathelement location="${DLC_HOME}\gui\OpenEdge.Core.pl" />
</propath>
</ablunit>
Getting Error:
"ablunit doesn't support the nested "Profiler" element."