class MesonJunit::Meson::TestLog

Single Meson test result.

Attributes

tests[R]

Individual Meson test results.

Public Class Methods

new(io) click to toggle source

Parse a testlog.json file.

# File lib/meson-junit/meson/test-log.rb, line 13
def initialize(io)
  @tests = io.readlines.map do |line| 
    ::MesonJunit::Meson::Test.new(::JSON.parse(line)) 
  end
end