At my previous employer, we used CDash to display statistics about the tests that were run. When the code was run in “test” mode, additional statistics were recorded about the code and saved to an XML file. These statistics were then available in CDash to plot as history files. Unfortunately I didn’t set the CDash up - I only ever used it. I’m now attempting to set up CTest with CDash with my new employer.
My question is : what is the data format the CDash is expecting such that it can display all this data?
The data is going to be something like:
testname: simpletest
statistic1: “numberOfSteps”
staticistic type: int
statistic value: 10
statistic2: “maximumQuality”
staticistic type: float
statistic value: 0.1
etc.
I know that one could compare these statistics from one test to the next run using a baseline set of test-data. Again, never wrote this, only know that it happened.
Anyone have any ideas how one might go about this? If this requires some scripting to occur post-testing, then fine.