void ITestStream.Do(DoGrammarStructure structure, IStep step) { _paragraphResults.ForExceptionText(text => { _document.Add(new ExceptionTag(text)); }); }
private void writeResultsRow(IStep step, ITestContext context) { AddBodyRow(row => { StepResults results = context.ResultsFor(step); results.Collapse(); _writer.DisplayCells.Each(cell => { var tag = new CellTag(cell, step); tag.TagName("td"); row.Append(tag); tag.WriteResults(results, context); }); row.FirstChild().AddClass("left-cell"); results.ForExceptionText(writeExceptionText); }); }