Also, I have merged the trx file so the test info is in the build log xml
file, my publishers section is as follows:

<publishers>
  <merge>
    <files>
      <file>TestResults\BVT.trx</file>
    </files>
  </merge>
  <xmllogger />
  <statistics>
    <statisticList>
      <statistic name="executed" xpath="/ResultSummary/Counters/@executed"
/>
    </statisticList>
  </statistics>
</publishers>

On Tue, May 18, 2010 at 5:56 PM, Michael Guiney <[email protected]>wrote:

> Hi All,
>
> Anyone integrated the 'projectStatisticsPlugin' with MSTest successfully?
>
> I found these instructions which look a bit complicated:
>
> http://www.ridgway.co.za/archive/2007/05/21/adding-custom-graphs-to-the-cruisecontrol.net-statistics-replacement.aspx
>
> I have turned on the statistics for some builds which works quite well by
> simply adding the following to my build scripts in the publishers section:
>
> <statistics />
>
> This works great and shows some nice build statistics. I am trying to add
> the mstest stats to the collected stats and use the plugin to show them on
> the dashboard.
>
> I tried modifying this to look like the following:
>
> <statistics>
>    <statisticList>
>      <statistic name="executed" xpath="/ResultSummary/Counters/@executed"
> />
>    </statisticList>
> </statistics>
> The aim is to use the stats in the build log xml as follows:
>
> <ResultSummary outcome="Completed">
>     <Counters total="19" executed="19" passed="19" error="0" failed="0"
> timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0"
> notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0"
> inProgress="0" pending="0" />
>   </ResultSummary>
>
> But dont see anything different... I dont see anything in the ccnet.log
> file. Is there somewhere that the plugin log information to?? Or is there
> some other way I can collect these stats and display on the dashboard using
> the plugin?
>
> Thanks,
> Mike
>
>
>

Reply via email to