@if (Model.AuthorContext.Context.Count > 0) { } @if (Model.CategoryContext.Context.Count > 0) { } @if (Model.DeviceContext.Context.Count > 0) { }
    @foreach (var test in Model.TestList) { string authors = "", devices = "", tags = ""; foreach (var author in test.AuthorContext.All()) { authors += author.Name + " "; } foreach (var device in test.DeviceContext.All()) { devices += device.Name + " "; } foreach (var tag in test.CategoryContext.All()) { tags += tag.Name + " "; }
  • @test.Name

    @test.RunDuration.ToString("''h'h:'m'm:'s's+'fff'ms'")

    @test.StartTime.ToString("HH:mm:ss tt")
    @test.Name
    @test.StartTime @test.EndTime @test.RunDuration.ToString("''h'h:'m'm:'s's+'fff'ms'")
    @if (test.HasAttributes) {
    @Include("Attributes", test)
    } @if (!string.IsNullOrEmpty(test.Description)) {
    @test.Description
    }
    @if (!isbdd) { @Include("SparkStandard", test) } else { @Include("SparkBDD", test) }
  • }