예제 #1
0
 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();
 }
예제 #2
0
        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();
            }
        }
예제 #3
0
 public static void ReportStartLevel(string levelTitle)
 {
     report.StartLevel(levelTitle);
 }