public void ReportLevels() { report.Step("Let's play with levels"); report.StartLevel("Click on me to see more reports"); report.Report("Something"); report.Report("Something else"); report.Report("Additional something"); report.EndLevel(); }
public void SingleLevelReport(string text = "This is the title of the level - click to expand") { try { Report.StartLevel(text); Report.Report("This text is nested inside the level"); } finally { // We must end the level to avoid cases where subsequent reports accidentally write // inside this level. Report.EndLevel(); } }
public static void ReportEndLevel() { report.EndLevel(); }