Page 1 of 1

how to make new exec status best case in chart

Posted: Tue Sep 20, 2011 7:56 pm
by tedn
I made a new execution status of in_prog. I made all the changes listed in other postings and everything including colors is working beautifully.

However, the chart report is showing my new in_prog status in a worst case manner. In other words, if a given test case was in_prog for earlier builds, but eventually failed or passed in a later build, then I would like the last state of failed or passed to override the previous states of in_prog. This is what it does for 'blocked', for example, but I cannot make it do the same for in_prog.

I've looked at the entire code path and the SQL calls and I'm apparently missing something with how blocked is reported in a best case, or cumulative, manner. So, I don't know how to make my new in_prog status behave the same way. Any suggestions?

BTW, I did find a file that looked like it cared for it called priorityBarChart.php, under lib/results, but as the comment in the 2nd line indicates "//@TODO this file seems not to be in use", it is not being used.