class JunitModel::TestGroup

A TestGroup is the top level object in a Junit tree.

Public Instance Methods

failure_count()
Alias for: failures_count
failures_count() click to toggle source
# File lib/junit_model/models.rb, line 10
def failures_count
  failures.to_i
end
Also aliased as: failure_count
passed()
Alias for: passed?
passed?() click to toggle source
# File lib/junit_model/models.rb, line 14
def passed?
  failures_count == 0
end
Also aliased as: passed
test_count() click to toggle source
# File lib/junit_model/models.rb, line 6
def test_count
  tests.to_i
end
to_xml() click to toggle source
# File lib/junit_model/models.rb, line 18
def to_xml
  XMLBuilder.xml_for_result(self)
end