class TestCenter::Helper::XcodeJunit::TestSuite
Public Class Methods
new(xml_element)
click to toggle source
# File lib/fastlane/plugin/retry_tests/helper/junit_helper.rb, line 44 def initialize(xml_element) @root = xml_element @testcases = [] @root.elements.each('testcase') do |testcase_element| @testcases << TestCase.new(testcase_element) end end
Public Instance Methods
identifier()
click to toggle source
# File lib/fastlane/plugin/retry_tests/helper/junit_helper.rb, line 56 def identifier name.testsuite end
is_swift?()
click to toggle source
# File lib/fastlane/plugin/retry_tests/helper/junit_helper.rb, line 60 def is_swift? return name.include?('.') end
name()
click to toggle source
# File lib/fastlane/plugin/retry_tests/helper/junit_helper.rb, line 52 def name return @root.attributes['name'] end
testcases()
click to toggle source
# File lib/fastlane/plugin/retry_tests/helper/junit_helper.rb, line 64 def testcases return @testcases end