Sha256: e2a1d6fffd996bf3c1fa997cc14ad9786b9c2eef07aeb2897f7ea1c59ad5d639
Contents?: true
Size: 1.12 KB
Versions: 9
Compression:
Stored size: 1.12 KB
Contents
<?xml version="1.0" encoding="UTF-8"?> <% number_of_tests = 0 %> <% number_of_failures = 0 %> <% @results.each { |a| number_of_tests += a[:number_of_tests_excluding_retries] } %> <% @results.each { |a| number_of_failures += a[:number_of_failures_excluding_retries] } %> <testsuites tests="<%= number_of_tests %>" failures="<%= number_of_failures %>"> <% @results.each do |testsuite| %> <testsuite name=<%= (testsuite[:target_name].nil? ? testsuite[:test_name] : testsuite[:target_name]).encode(:xml => :attr) %> tests="<%= testsuite[:number_of_tests_excluding_retries] %>" failures="<%= testsuite[:number_of_failures_excluding_retries] %>" time="<%= testsuite[:duration] %>"> <% testsuite[:tests].each do |test| %> <testcase classname=<%= test[:test_group].encode(:xml => :attr) %> name=<%= test[:name].encode(:xml => :attr) %> time="<%= test[:duration] %>"> <% (test[:failures] || []).each do |failure| %> <failure message=<%= failure[:failure_message].encode(:xml => :attr) %>> </failure> <% end %> </testcase> <% end %> </testsuite> <% end %> </testsuites>
Version data entries
9 entries across 9 versions & 1 rubygems