class JunitModel::TestSuite

A TestSuite belongs to a TestGroup and has an array of TestCase

Public Instance Methods

failed_test_cases() click to toggle source
# File lib/junit_model/models.rb, line 46
def failed_test_cases
  test_cases.reject(&:passed?)
end
failure_count()
Alias for: failures_count
failures_count() click to toggle source
# File lib/junit_model/models.rb, line 34
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 38
def passed?
  failures == '0'
end
Also aliased as: passed
passed_test_cases() click to toggle source
# File lib/junit_model/models.rb, line 50
def passed_test_cases
  test_cases.select(&:passed?)
end
test_cases() click to toggle source
# File lib/junit_model/models.rb, line 42
def test_cases
  testcase
end
test_count() click to toggle source
# File lib/junit_model/models.rb, line 30
def test_count
  tests.to_i
end