private void WriteBody(TestRunResult run, StringBuilder result)
        {
            WriteSummary(run, result);
            WriteSummaryDetails(run, result);
            WriteSlowerMethods(run, result);
            var classes = run.TestMethodRunList.GroupBy(m => m.TestClass);

            foreach (var c in classes)
            {
                TestClassRun tcr = run.TestClassList.First(tc => tc.FullName == c.Key);
                WriteClassResult(tcr, result);
            }
        }
        private void WriteClassResult(TestClassRun tcr, StringBuilder result)
        {
            result.Append("<br />");
            result.Append("<a name=\"detail\" />");


            result.AppendFormat(@"<h5></h5>
								  <a name='{0}' />
								  <table border='0' width='900px'>
									<tr>
									  <th colspan='4'>
										<b>{0}</b>
									  </th>
									</tr>"                                    ,
                                tcr.Name);


            foreach (var method in tcr.TestMethods)
            {
                WriteTestMethodResult(method, result);
            }
            result.Append("</table>\r\n");
        }