Method: #process_file

Defined in:
lib/junitdoc.rb

#process_file(fn, data) ⇒ Object



22
23
24
25
26
27
# File 'lib/junitdoc.rb', line 22

def process_file fn, data
  doc = open_document fn
  doc.xpath('//testcase').each do |testcase|
    process_testcase testcase, data
  end
end